diff options
author | Pavol Rusnak <stick@satoshilabs.com> | 2017-09-05 17:44:01 +0200 |
---|---|---|
committer | bitcoindev <bitcoindev@gnusha.org> | 2017-09-05 15:49:39 +0000 |
commit | 2071fb54560f3e694517bf8ad9b8ec797472a417 (patch) | |
tree | d03fe74178efffef4d5e3e5d4077e59eaf6fa520 /6d | |
parent | 49ed581d3db381a4dd506fc8a2271d2ecc4db2ef (diff) | |
download | pi-bitcoindev-2071fb54560f3e694517bf8ad9b8ec797472a417.tar.gz pi-bitcoindev-2071fb54560f3e694517bf8ad9b8ec797472a417.zip |
Re: [bitcoin-dev] Proposal: bip32 version bytes for segwit scripts
Diffstat (limited to '6d')
-rw-r--r-- | 6d/b9818e8d044b799adfd3705d8655af8195b5e2 | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/6d/b9818e8d044b799adfd3705d8655af8195b5e2 b/6d/b9818e8d044b799adfd3705d8655af8195b5e2 new file mode 100644 index 000000000..267e81e58 --- /dev/null +++ b/6d/b9818e8d044b799adfd3705d8655af8195b5e2 @@ -0,0 +1,76 @@ +Return-Path: <stick@satoshilabs.com> +Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org + [172.17.192.35]) + by mail.linuxfoundation.org (Postfix) with ESMTPS id 18D44941 + for <bitcoin-dev@lists.linuxfoundation.org>; + Tue, 5 Sep 2017 15:49:39 +0000 (UTC) +X-Greylist: delayed 00:07:56 by SQLgrey-1.7.6 +Received: from mail.sldev.cz (mail.sldev.cz [51.254.7.247]) + by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 7F6831F0 + for <bitcoin-dev@lists.linuxfoundation.org>; + Tue, 5 Sep 2017 15:49:38 +0000 (UTC) +Received: from localhost (localhost [127.0.0.1]) + by mail.sldev.cz (Postfix) with ESMTP id 7D9ECEB50; + Tue, 5 Sep 2017 16:04:12 +0000 (UTC) +X-Virus-Scanned: Debian amavisd-new at mail.sldev.cz +Received: from mail.sldev.cz ([127.0.0.1]) + by localhost (mail.sl [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id f9C3-4IgvWFz; Tue, 5 Sep 2017 16:04:11 +0000 (UTC) +Received: from tetra.site (unknown [10.8.8.107]) + by mail.sldev.cz (Postfix) with ESMTPSA id B5F1DEB4C; + Tue, 5 Sep 2017 16:04:11 +0000 (UTC) +To: Thomas Voegtlin <thomasv@electrum.org>, + Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org> +References: <43636dd6-ab9e-da15-59ae-f31eb11ff7ff@electrum.org> +From: Pavol Rusnak <stick@satoshilabs.com> +Message-ID: <198be73d-4676-45e9-6e3d-b89f73e31702@satoshilabs.com> +Date: Tue, 5 Sep 2017 17:44:01 +0200 +User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 + Thunderbird/45.7.1 +MIME-Version: 1.0 +In-Reply-To: <43636dd6-ab9e-da15-59ae-f31eb11ff7ff@electrum.org> +Content-Type: text/plain; charset=windows-1252 +Content-Transfer-Encoding: 7bit +X-Spam-Status: No, score=0.0 required=5.0 tests=none 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] Proposal: bip32 version bytes for segwit scripts +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 15:49:39 -0000 + +On 05/09/17 12:25, Thomas Voegtlin via bitcoin-dev wrote: +> ========== =========== =================================== +> Version Prefix Description +> ========== =========== =================================== +> 0x0488ade4 xprv P2PKH or P2SH +> 0x0488b21e xpub P2PKH or P2SH +> 0x049d7878 yprv (P2WPKH or P2WSH) nested in P2SH +> 0x049d7cb2 ypub (P2WPKH or P2WSH) nested in P2SH +> 0x04b2430c zprv P2WPKH or P2WSH +> 0x04b24746 zpub P2WPKH or P2WSH +> ========== =========== =================================== +> (source: http://docs.electrum.org/en/latest/seedphrase.html) +> +> I have heard the argument that xpub/xprv serialization is a format for +> keys, and that it should not be used to encode how these keys are used. + +I used this argument for mnemonic/seed, not xpub/xprv. I am fine with +this proposal of yours, so don't worry. + +-- +Best Regards / S pozdravom, + +Pavol "stick" Rusnak +CTO, SatoshiLabs + |