summaryrefslogtreecommitdiff
path: root/c0
diff options
context:
space:
mode:
authorDaniel Weigl <Daniel.Weigl@mycelium.com>2016-05-15 14:08:14 +0200
committerbitcoindev <bitcoindev@gnusha.org>2016-05-15 12:08:19 +0000
commit5635b65389dc83fd8b79ed6fdc74441275880067 (patch)
treec5a88fd1bbb4caa138dab30588fe4bd71e89efa5 /c0
parent6a2cb17e91ceb2f488ffa6ba5fd2f160d072aed9 (diff)
downloadpi-bitcoindev-5635b65389dc83fd8b79ed6fdc74441275880067.tar.gz
pi-bitcoindev-5635b65389dc83fd8b79ed6fdc74441275880067.zip
Re: [bitcoin-dev] Bip44 extension for P2SH/P2WSH/...
Diffstat (limited to 'c0')
-rw-r--r--c0/a211dd22f7938574403b1aa83a77ce78e0789a117
1 files changed, 117 insertions, 0 deletions
diff --git a/c0/a211dd22f7938574403b1aa83a77ce78e0789a b/c0/a211dd22f7938574403b1aa83a77ce78e0789a
new file mode 100644
index 000000000..a06e23d13
--- /dev/null
+++ b/c0/a211dd22f7938574403b1aa83a77ce78e0789a
@@ -0,0 +1,117 @@
+Return-Path: <Daniel.Weigl@mycelium.com>
+Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org
+ [172.17.192.35])
+ by mail.linuxfoundation.org (Postfix) with ESMTPS id 94776256
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Sun, 15 May 2016 12:08:19 +0000 (UTC)
+X-Greylist: from auto-whitelisted by SQLgrey-1.7.6
+Received: from mx.mycelium.com (mx.mycelium.com [188.40.34.2])
+ by smtp1.linuxfoundation.org (Postfix) with ESMTPS id C924D141
+ for <bitcoin-dev@lists.linuxfoundation.org>;
+ Sun, 15 May 2016 12:08:18 +0000 (UTC)
+Received: from 193-83-255-150.adsl.highway.telekom.at ([193.83.255.150]
+ helo=[10.0.0.77])
+ by mx.mycelium.com with esmtpsa (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128)
+ (Exim 4.82) (envelope-from <Daniel.Weigl@mycelium.com>)
+ id 1b1uqS-0008IS-B3 for bitcoin-dev@lists.linuxfoundation.org;
+ Sun, 15 May 2016 14:08:28 +0200
+To: Bitcoin Protocol Discussion <bitcoin-dev@lists.linuxfoundation.org>
+References: <5735D3A4.7090608@mycelium.com> <5735EC17.5040901@satoshilabs.com>
+ <CACq0ZD4BvvCryYmO-J9Rof-ogQJ1wNLgmUEU596nuTH=-U8Hag@mail.gmail.com>
+From: Daniel Weigl <Daniel.Weigl@mycelium.com>
+Message-ID: <573866AE.9070205@mycelium.com>
+Date: Sun, 15 May 2016 14:08:14 +0200
+User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101
+ Thunderbird/38.7.2
+MIME-Version: 1.0
+In-Reply-To: <CACq0ZD4BvvCryYmO-J9Rof-ogQJ1wNLgmUEU596nuTH=-U8Hag@mail.gmail.com>
+Content-Type: text/plain; charset=utf-8
+Content-Transfer-Encoding: 8bit
+X-Spam-Score: -101.0 (---------------------------------------------------)
+X-Spam-Status: No, score=-3.3 required=5.0 tests=BAYES_00,RP_MATCHES_RCVD
+ autolearn=ham version=3.3.1
+X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on
+ smtp1.linux-foundation.org
+Subject: Re: [bitcoin-dev] Bip44 extension for P2SH/P2WSH/...
+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: Sun, 15 May 2016 12:08:19 -0000
+
+Hi,
+
+> 0x40000000 would be the next available to specify witness addresses.
+> This is compatible with existing accounts and wallet layouts.
+
+my main concern here is that
+ -) every Bip<this-bip>-compatible wallet in the future will have to implement all (then probably) legacy derivation and tx schemes.
+ -) it does not fail in a deterministic way, if I import a seed or xPriv/xPub across different capable wallets.
+ It is more visible if one account has [no funds/does not show up] at all after an import than if something shows up but you need to make sure that the balance is what you might expect.
+
+
+Daniel/Mycelium
+
+
+On 2016-05-13 18:03, Aaron Voisine wrote:
+> We use the default BIP32 wallet layout, mentioned in BIP43 as purpose
+> "0". We were thinking of of having 4 chains below the "account"
+> level, the original 0 and 1 for receive and change addresses, and
+> then 0x40000000 and 0x40000001 for P2WPKH-in-P2SH versions of receive
+> and change addresses.
+>
+> I like the idea of specifying the type of address as a bit field
+> flag. 0x80000000 is already used to specify hardened derivation, so
+> 0x40000000 would be the next available to specify witness addresses.
+> This is compatible with existing accounts and wallet layouts.
+>
+> As Daniel mentioned, the downside is that trying to recover on
+> non-segwit software will miss segwit receives, however it does avoid
+> the problem of having to check multiple address types for each key.
+>
+> Aaron Voisine co-founder and CEO breadwallet
+> <http://breadwallet.com>
+>
+> On Fri, May 13, 2016 at 8:00 AM, Pavol Rusnak via bitcoin-dev
+> <bitcoin-dev@lists.linuxfoundation.org
+> <mailto:bitcoin-dev@lists.linuxfoundation.org>> wrote:
+>
+> On 13/05/16 15:16, Daniel Weigl via bitcoin-dev wrote:
+>> 2) Define a new derivation path, parallel to Bip44, but a different
+>> 'purpose' (eg. <BipNumber-of-this-BIP>' instead of 44'). Let the
+>> user choose which account he want to add ("Normal account",
+>> "Witness account").
+>
+> We had quite a long discussion in our team some time ago and we
+> agreed on that option #2 is much better and we'd like to implement
+> this way in myTREZOR.
+>
+>> +) Wallet needs only to take care of 1 address per public key
+>
+> True, if this BIP only supports P2WPKH.
+>
+> P2WSH should probably be handled by another account type and another
+> BIP, anyway.
+>
+>> Has any Bip44 compliant wallet already done any integration at this
+>> point?
+>
+> We have something in the pipeline, but no visible results yet.
+>
+> -- Best Regards / S pozdravom,
+>
+> Pavol "stick" Rusnak SatoshiLabs.com
+> _______________________________________________ bitcoin-dev mailing
+> list bitcoin-dev@lists.linuxfoundation.org
+> <mailto:bitcoin-dev@lists.linuxfoundation.org>
+> https://lists.linuxfoundation.org/mailman/listinfo/bitcoin-dev
+>
+>
+