Skip to content

Commit c5b591a

Browse files
committed
elip153: use assigned number
Also apply review suggestions.
1 parent d8971fc commit c5b591a

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

README.mediawiki

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,13 @@ Having an ELIP here does not make it a formally accepted standard until its stat
7575
| Standards Track
7676
| Draft
7777
|- style="background-color: #ffcfcf"
78+
| [[elip-0153.mediawiki|153]]
79+
| Wallet
80+
  AMP2 Descriptors
81+
| Leonardo Comandini
82+
| Standards Track
83+
| Draft
84+
|- style="background-color: #ffcfcf"
7885
| [[elip-0200.mediawiki|200]]
7986
| Wallet
8087
| Discounted fees for Confidential Transactions
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Derivation of <code>USER_XPUB</code>, <code>SERVER_XPUB</code> and <code>VIEW</c
6363

6464
====User Xpub====
6565

66-
<code>USER_XPUB</code> is derived from the user master key using <code>USER_PATH</code>, a [https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki BIP44] BIP44 derivation path:
66+
<code>USER_XPUB</code> is derived from the user master key using <code>USER_PATH</code>, a [https://github.com/bitcoin/bips/blob/master/bip-0044.mediawiki BIP44] derivation path:
6767
<pre>
6868
USER_PATH = m/purpose'/coin_type'/account'
6969
</pre>
@@ -91,7 +91,7 @@ A user-specific <code>SERVER_XPUB</code> avoids reusing the same server ''public
9191
====Descriptor Blinding Key====
9292

9393
The descriptor blinding key <code>VIEW</code> is a '''view key''' as specified in [https://github.com/ElementsProject/ELIPs/blob/main/elip-0150.mediawiki ELIP-150], derived as follows:
94-
* Get the server xpub fingerprint, <code>server_fingerprint</code>
94+
* Get the fingerprint of the original AMP2 server's master xpub ('''not''' the fingerprint of <code>SERVER_XPUB</code>), <code>server_fingerprint</code>
9595
* Clear the most significant bit of <code>server_fingerprint</code> (mask with <code>0x7FFFFFFF</code>), and convert the result to an integer using big-endian byte order (most significant byte first), <code>server_fingerprint_masked</code>
9696
* Derive the user master extended key using <code>VIEW_PATH = m/purpose'/coin_type'/account'/server_fingerprint_masked'</code>, where the first 3 derivation steps are the same as those used for <code>USER_PATH</code>, and the last one is obtained at the step above
9797
* Get the public key from the obtained xpub, serialized in compressed form (33 bytes)

0 commit comments

Comments
 (0)