Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1YgOHH-0000ut-0P for bitcoin-development@lists.sourceforge.net; Fri, 10 Apr 2015 02:02:39 +0000 Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.220.175 as permitted sender) client-ip=209.85.220.175; envelope-from=swansontec@gmail.com; helo=mail-qk0-f175.google.com; Received: from mail-qk0-f175.google.com ([209.85.220.175]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:RC4-SHA:128) (Exim 4.76) id 1YgOHG-0006Y3-04 for bitcoin-development@lists.sourceforge.net; Fri, 10 Apr 2015 02:02:38 +0000 Received: by qku63 with SMTP id 63so8926862qku.3 for ; Thu, 09 Apr 2015 19:02:32 -0700 (PDT) MIME-Version: 1.0 X-Received: by 10.140.42.105 with SMTP id b96mr7920152qga.105.1428631352634; Thu, 09 Apr 2015 19:02:32 -0700 (PDT) Received: by 10.140.149.23 with HTTP; Thu, 9 Apr 2015 19:02:32 -0700 (PDT) In-Reply-To: <5526FF23.9040402@gmail.com> References: <5524D347.4040507@maza.club> <5526DE29.1060605@maza.club> <5526FF23.9040402@gmail.com> Date: Thu, 9 Apr 2015 19:02:32 -0700 Message-ID: From: William Swanson To: Alan Reiner Content-Type: text/plain; charset=UTF-8 X-Spam-Score: -1.6 (-) X-Spam-Report: Spam Filtering performed by mx.sourceforge.net. See http://spamassassin.org/tag/ for more details. -1.5 SPF_CHECK_PASS SPF reports sender host as permitted sender for sender-domain 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (swansontec[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 AWL AWL: Adjusted score from AWL reputation of From: address X-Headers-End: 1YgOHG-0006Y3-04 Cc: Bitcoin Dev Subject: Re: [Bitcoin-development] Request For Discussion / BIP number - Multi-Currency Hierarchy For Use In Multisignature Deterministic Wallets X-BeenThere: bitcoin-development@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Apr 2015 02:02:39 -0000 Hello Alan, Your scheme is basically the same as the BIP45 scheme, except that you have collapsed the "cosigner_index" and "change" fields into a single field with the formula: combined = 2*cosigner_index + change This removes one level from the hierarchy, but ultimately produces the same number and type of chains as BIP45 (just addressed differently). I kinda like the BIP45's approach of giving each field has its own dedicated purpose. What is the motivation behind flattening the hierarchy? I ask because the wallet I work on, Airbitz, will be adding multi-sig at some point in the future, and we need to figure out what kind of HD tree structure we will be using. Our ideal structure would basically be BIP 44 plus some "no-collision" logic: m / purpose' / coin_type' / wallet' / cosigner_index / change / address_index I feel like interoperability with Copay would be worth the extra HD branch. Assuming Kefkius adds similar no-collision logic, his proposal is pretty close to our ideal: m / purpose' / wallet' / coin_type / cosigner_index / change / address_index Of course, I am open to hearing your thoughts on this as well. -William On Thu, Apr 9, 2015 at 3:37 PM, Alan Reiner wrote: > BTW, I had originally proposed a "no-collision" scheme for > multi-signature wallets, which doesn't require modifying the key tree > structure at all, except for adding new internal and external chains > (2*N chains). All siblings watch all chains, but only generate > receiving and change addresses on their two chains. > > The original document is here, which might be educational for the > purposes of understand precisely the problem that needs a solution (and > mine is a different solution than BIP45). > > https://www.dropbox.com/s/58poxi60d8nfj5w/MultisigWalletNoCollide.pdf > > I prefer not adding even more levels to the key tree, and (IMO) it makes > more sense to add more chains to the wallet instead of adding a new tree > level (as it allows for a simpler tree in the event that you don't need > separate cosigners). But I suspect that there's a certain momentum > behind the cosigner-index method already in BIP45? Just throwing it out > there.