diff options
author | Luke Dashjr <luke_github1@dashjr.org> | 2019-02-15 14:47:33 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-15 14:47:33 +0000 |
commit | b0b28ccd804ecf2a1b89ea7f4e15c9a522036e72 (patch) | |
tree | bb2724f18dc295c1ea55da2fdd0e1647da569066 | |
parent | 64f44eb62063f539b2d1ed545f7dfd392aa8fda9 (diff) | |
parent | 937b8716c35a271e33432d0c6a8d47e3d446b7d3 (diff) | |
download | bips-b0b28ccd804ecf2a1b89ea7f4e15c9a522036e72.tar.xz |
Merge pull request #761 from clarkmoody/bip-84-version-bytes
BIP-84 - Add Version Bytes Section
-rw-r--r-- | bip-0084.mediawiki | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bip-0084.mediawiki b/bip-0084.mediawiki index 340dff2..dc5a05d 100644 --- a/bip-0084.mediawiki +++ b/bip-0084.mediawiki @@ -51,6 +51,14 @@ To derive the P2WPKH address from the above calculated public key, we use the en scriptPubKey: 0 <20-byte-key-hash> (0x0014{20-byte-key-hash}) + +===Extended Key Version=== + +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." + +Additional registered version bytes are listed in [[https://github.com/satoshilabs/slips/blob/master/slip-0132.md|SLIP-0132]]. + + ==Backwards Compatibility== 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. |