summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voegtlin <thomasv@electrum.org>2017-09-05 18:33:00 +0200
committerbitcoindev <bitcoindev@gnusha.org>2017-09-05 16:33:04 +0000
commite362d89bb3a20d8e91b9761fee1127839835a53d (patch)
tree3b0dd67bcdae7880fae627e33779e05fb0d788cf
parent2071fb54560f3e694517bf8ad9b8ec797472a417 (diff)
downloadpi-bitcoindev-e362d89bb3a20d8e91b9761fee1127839835a53d.tar.gz
pi-bitcoindev-e362d89bb3a20d8e91b9761fee1127839835a53d.zip
Re: [bitcoin-dev] BIP49 Derivation scheme changes
-rw-r--r--3f/cc9c2358751bef7a0b905a2c71b915e8cb979278
1 files changed, 78 insertions, 0 deletions
diff --git a/3f/cc9c2358751bef7a0b905a2c71b915e8cb9792 b/3f/cc9c2358751bef7a0b905a2c71b915e8cb9792
new file mode 100644
index 000000000..ea2d847cc
--- /dev/null
+++ b/3f/cc9c2358751bef7a0b905a2c71b915e8cb9792
@@ -0,0 +1,78 @@
+Return-Path: <thomasv@electrum.org>
+Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
+ [172.17.192.35])
+ by mail.linuxfoundation.org (Postfix) with ESMTPS id 3D9FD899
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Tue, 5 Sep 2017 16:33:04 +0000 (UTC)
+X-Greylist: delayed 06:07:43 by SQLgrey-1.7.6
+Received: from relay2-d.mail.gandi.net (relay2-d.mail.gandi.net
+ [217.70.183.194])
+ by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 95DC51F0
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Tue, 5 Sep 2017 16:33:03 +0000 (UTC)
+X-Originating-IP: 178.19.221.38
+Received: from [10.10.42.98] (unknown [178.19.221.38])
+ (Authenticated sender: thomasv@electrum.org)
+ by relay2-d.mail.gandi.net (Postfix) with ESMTPSA id EDBB3C5A6A
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Tue, 5 Sep 2017 18:33:01 +0200 (CEST)
+To: bitcoin-dev@lists.linuxfoundation.org
+References: <CABuOfuiz9U=ZPWRUfVXHgBekZ74B4zkUikg6Svxbr6jrJA5Vyw@mail.gmail.com>
+From: Thomas Voegtlin <thomasv@electrum.org>
+Message-ID: <28d57503-c2b3-7736-bfea-46506636d999@electrum.org>
+Date: Tue, 5 Sep 2017 18:33:00 +0200
+User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
+ Thunderbird/52.2.1
+MIME-Version: 1.0
+In-Reply-To: <CABuOfuiz9U=ZPWRUfVXHgBekZ74B4zkUikg6Svxbr6jrJA5Vyw@mail.gmail.com>
+Content-Type: text/plain; charset=utf-8
+Content-Language: en-US
+Content-Transfer-Encoding: 7bit
+X-Spam-Status: No, score=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW
+ autolearn=disabled version=3.3.1
+X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
+ smtp1.linux-foundation.org
+Subject: Re: [bitcoin-dev] BIP49 Derivation scheme changes
+X-BeenThere: bitcoin-dev@lists.linuxfoundation.org
+X-Mailman-Version: 2.1.12
+Precedence: list
+List-Id: Bitcoin Protocol Discussion <bitcoin-dev.lists.linuxfoundation.org>
+List-Unsubscribe: <https://lists.linuxfoundation.org/mailman/options/bitcoin-dev>,
+ <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=unsubscribe>
+List-Archive: <http://lists.linuxfoundation.org/pipermail/bitcoin-dev/>
+List-Post: <mailto:bitcoin-dev@lists.linuxfoundation.org>
+List-Help: <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=help>
+List-Subscribe: <https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev>,
+ <mailto:bitcoin-dev-request@lists.linuxfoundation.org?subject=subscribe>
+X-List-Received-Date: Tue, 05 Sep 2017 16:33:04 -0000
+
+
+
+On 05.09.2017 09:10, shiva sitamraju via bitcoin-dev wrote:
+> Hi,
+>
+> Thanks Thomas. The procedure described in
+> http://docs.electrum.org/en/latest/seedphrase.html is really what I was
+> looking for ! I really don't see any point of following BIP49, If possible
+> it would be great if you can propose an alternative to BIP49 that follows
+> similar structure to what is used in electrum.
+>
+> I have proposed following changes to BIP32 serialization format
+> https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki#serialization-format
+> to differentiate segwit xpub/xprv. Below the list of new version bytes,
+> resulting base58 prefix and network type:
+>
+> 0x042393df , sxpr , segwit mainnet private key
+> 0x04239377 , sxpb , segwit mainnet public key
+> 0x04222463 , stpb , segwit testnet public key
+> 0x042224cc , stpr , segwit testnet private key
+>
+
+I have proposed a similar idea, with letters z,y,z combined with pub/prv
+(see the electrum documentation page)
+
+The point is that we need 3 types of keys, not 2, because there are two
+types of segwit output scripts: native and nested in p2sh.
+
+We could use t,u,v for testnet.
+