From 4413bdc46ffa779987ff2ffb9ac9257744e35316 Mon Sep 17 00:00:00 2001 From: Clark Moody Date: Thu, 14 Feb 2019 12:25:38 -0600 Subject: Add version bytes section --- bip-0049.mediawiki | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'bip-0049.mediawiki') diff --git a/bip-0049.mediawiki b/bip-0049.mediawiki index 74645a1..846aefa 100644 --- a/bip-0049.mediawiki +++ b/bip-0049.mediawiki @@ -66,6 +66,12 @@ To derive the P2SH address from the above calculated public key, we use the enca scriptPubKey: HASH160 <20-byte-script-hash> EQUAL (0xA914{20-byte-script-hash}87) + +===Extended Key Version=== + +When serializing extended keys, this scheme uses alternate version bytes. Extended public keys use 0x049d7cb2 to produce a "ypub" prefix, and private keys use 0x049d7878 to produce a "yprv" prefix. Testnet uses 0x044a5262 "upub" and 0x044a4e28 "uprv." + + ==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. -- cgit v1.2.3