Bitcoin Forum
April 19, 2024, 09:11:18 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: BIP47 - Reusable Payment Codes - Notification Tx  (Read 791 times)
redPanda (OP)
Member
**
Offline Offline

Activity: 65
Merit: 16


View Profile
February 24, 2016, 03:04:47 PM
Merited by ABCbits (2)
 #1

From BIP47 on mediawiki:
https://github.com/bitcoin/bips/blob/master/bip-0047.mediawiki
step 3 of the notification tx:
Quote
3. Alice serializes her payment code in binary form.
According the Binary Serialization on the same page,
the Payment Code is essentially Alice's pubkey (A = a * G) and Alice's Chain Code(c)
in the next step:
Quote
4. Alice renders her payment code (P) unreadable to anyone except Bob:
  i. Replace the x value with x':
The problem is x is the x coordinate of the secret point S = a * B = (x, y)
where a is Alice's privatekey and B is Bob's publickey point (B = b * G)
Question: even if I replace x by x', it won't change the value of the Payment Code
since x is not involved in this value !
What I'm missing ?
1713561078
Hero Member
*
Offline Offline

Posts: 1713561078

View Profile Personal Message (Offline)

Ignore
1713561078
Reply with quote  #2

1713561078
Report to moderator
1713561078
Hero Member
*
Offline Offline

Posts: 1713561078

View Profile Personal Message (Offline)

Ignore
1713561078
Reply with quote  #2

1713561078
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009



View Profile
February 24, 2016, 10:04:53 PM
Merited by ABCbits (2)
 #2

Quote
4. Alice renders her payment code (P) unreadable to anyone except Bob:
  i. Replace the x value with x':
The problem is x is the x coordinate of the secret point S = a * B = (x, y)
where a is Alice's privatekey and B is Bob's publickey point (B = b * G)
Question: even if I replace x by x', it won't change the value of the Payment Code
since x is not involved in this value !
What I'm missing ?
In step 2, you generate a 64 byte blinding factor.

In step 4, you xor the x value and chain code portions of the payment code with the blinding factor.

This means the data you put in the OP_RETURN output is only readable by the recipient.
thejaytiesto
Legendary
*
Offline Offline

Activity: 1358
Merit: 1014


View Profile
March 01, 2016, 07:01:54 PM
 #3

Im looking forward to this BIP to increase the overall privacy of Bitcoin. Do you think this will get added soon? I think this idea of mixing all transactions by default is an excellent idea.. the optional should be to not mix it, but by default the transaction should be mixed so default state of transaction is "cash mode" ..

I wonder what core devs like gmaxwell think of this BIP and when can we expect a Bitcoin where all transactions are mixed natively so it feels more like cash like it should be.
justusranvier
Legendary
*
Offline Offline

Activity: 1400
Merit: 1009



View Profile
March 01, 2016, 08:42:06 PM
Merited by ABCbits (1)
 #4

Do you think this will get added soon?
Wallets can implement this whenever they like. Several have already started.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!