1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

Merge pull request #761 from clarkmoody/bip-84-version-bytes

BIP-84 - Add Version Bytes Section
This commit is contained in:
Luke Dashjr 2019-02-15 14:47:33 +00:00 committed by GitHub
commit b0b28ccd80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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.