Skip to content

Commit 4413bdc

Browse files
committed
Add version bytes section
1 parent ac75b1d commit 4413bdc

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

bip-0049.mediawiki

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,12 @@ To derive the P2SH address from the above calculated public key, we use the enca
6666
scriptPubKey: HASH160 <20-byte-script-hash> EQUAL
6767
(0xA914{20-byte-script-hash}87)
6868
69+
70+
===Extended Key Version===
71+
72+
When serializing extended keys, this scheme uses alternate version bytes. Extended public keys use <code>0x049d7cb2</code> to produce a "ypub" prefix, and private keys use <code>0x049d7878</code> to produce a "yprv" prefix. Testnet uses <code>0x044a5262</code> "upub" and <code>0x044a4e28</code> "uprv."
73+
74+
6975
==Backwards Compatibility==
7076

7177
This BIP is not backwards compatible by design as described under [#considerations]. An incompatible wallet will not discover accounts at all and the user will notice that something is wrong.

0 commit comments

Comments
 (0)