summaryrefslogtreecommitdiff
path: root/bip-0084.mediawiki
diff options
context:
space:
mode:
authorClark Moody <clarkmoody@gmail.com>2019-02-13 18:31:19 -0600
committerClark Moody <clarkmoody@gmail.com>2019-02-13 18:31:19 -0600
commit499f5a7e887ae7766eaa37d1dcd2c0068c4eb8fd (patch)
tree3384a3c6302ce6728e0c4a54d39a219dbf551280 /bip-0084.mediawiki
parent64f44eb62063f539b2d1ed545f7dfd392aa8fda9 (diff)
Add version bytes section
Diffstat (limited to 'bip-0084.mediawiki')
-rw-r--r--bip-0084.mediawiki6
1 files changed, 6 insertions, 0 deletions
diff --git a/bip-0084.mediawiki b/bip-0084.mediawiki
index 340dff2..033bb4e 100644
--- a/bip-0084.mediawiki
+++ b/bip-0084.mediawiki
@@ -51,6 +51,12 @@ 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.
+
+
==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.