Skip to content

Commit b0b28cc

Browse files
authored
Merge pull request bitcoin#761 from clarkmoody/bip-84-version-bytes
BIP-84 - Add Version Bytes Section
2 parents 64f44eb + 937b871 commit b0b28cc

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

bip-0084.mediawiki

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,14 @@ To derive the P2WPKH address from the above calculated public key, we use the en
5151
scriptPubKey: 0 <20-byte-key-hash>
5252
(0x0014{20-byte-key-hash})
5353
54+
55+
===Extended Key Version===
56+
57+
When serializing extended keys, this scheme uses alternate version bytes. Extended public keys use <code>0x04b24746</code> to produce a "zpub" prefix, and private keys use <code>0x04b2430c</code> to produce a "zprv" prefix. Testnet uses <code>0x045f1cf6</code> "vpub" and <code>0x045f18bc</code> "vprv."
58+
59+
Additional registered version bytes are listed in [[https://github.com/satoshilabs/slips/blob/master/slip-0132.md|SLIP-0132]].
60+
61+
5462
==Backwards Compatibility==
5563

5664
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)