mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
Merge pull request #1068 from OpenBitcoinPrivacyProject/bip47
Finalize BIP-47
This commit is contained in:
commit
fd8d58edb1
@ -1,7 +1,7 @@
|
|||||||
RECENT CHANGES:
|
RECENT CHANGES:
|
||||||
|
* (15 Feb 2021) Finalize specification
|
||||||
|
* (28 Sep 2017) Adjust text to match test vectors
|
||||||
* (19 Apr 2016) Define version 2 payment codes
|
* (19 Apr 2016) Define version 2 payment codes
|
||||||
* (17 Apr 2016) Clarify usage of outpoints in notification transactions
|
|
||||||
* (18 Dec 2015) Update explanations to resolve FAQs
|
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
BIP: 47
|
BIP: 47
|
||||||
@ -10,11 +10,17 @@ RECENT CHANGES:
|
|||||||
Author: Justus Ranvier <justus@openbitcoinprivacyproject.org>
|
Author: Justus Ranvier <justus@openbitcoinprivacyproject.org>
|
||||||
Comments-Summary: Unanimously Discourage for implementation
|
Comments-Summary: Unanimously Discourage for implementation
|
||||||
Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0047
|
Comments-URI: https://github.com/bitcoin/bips/wiki/Comments:BIP-0047
|
||||||
Status: Draft
|
Status: Final
|
||||||
Type: Informational
|
Type: Informational
|
||||||
Created: 2015-04-24
|
Created: 2015-04-24
|
||||||
</pre>
|
</pre>
|
||||||
|
|
||||||
|
==Status==
|
||||||
|
|
||||||
|
This BIP can be be considered final in terms of enabling compatibility with wallets that implement version 1 and version 2 reusable payment codes, however future developments of the reusable payment codes specification will not be distributed via the BIP process.
|
||||||
|
|
||||||
|
The Open Bitcoin Privacy Project RFC repo should be consulted for specifications related to version 3 or higher payment codes: https://github.com/OpenBitcoinPrivacyProject/rfc
|
||||||
|
|
||||||
==Abstract==
|
==Abstract==
|
||||||
|
|
||||||
This BIP defines a technique for creating a payment code which can be publicly advertised and associated with a real-life identity without creating the loss of security or privacy inherent to P2PKH address reuse.
|
This BIP defines a technique for creating a payment code which can be publicly advertised and associated with a real-life identity without creating the loss of security or privacy inherent to P2PKH address reuse.
|
||||||
@ -158,7 +164,7 @@ Note: this procedure is used if Bob uses a version 1 payment code (regardless of
|
|||||||
## Alice selects the private key corresponding to the designated pubkey: <pre>a</pre>
|
## Alice selects the private key corresponding to the designated pubkey: <pre>a</pre>
|
||||||
## Alice selects the public key associated with Bob's notification address: <pre>B, where B = bG</pre>
|
## Alice selects the public key associated with Bob's notification address: <pre>B, where B = bG</pre>
|
||||||
## Alice calculates a secret point: <pre>S = aB</pre>
|
## Alice calculates a secret point: <pre>S = aB</pre>
|
||||||
## Alice calculates a 64 byte blinding factor: <pre>s = HMAC-SHA512(x, o)</pre>
|
## Alice calculates a 64 byte blinding factor: <pre>s = HMAC-SHA512(o, x)</pre>
|
||||||
### "x" is the x value of the secret point
|
### "x" is the x value of the secret point
|
||||||
### "o" is the outpoint being spent by the designated input
|
### "o" is the outpoint being spent by the designated input
|
||||||
# Alice serializes her payment code in binary form.
|
# Alice serializes her payment code in binary form.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user