Re: [bitcoin-dev] RFC for BIP: Derivation scheme for P2WPKH-nested-in-P2SH based accounts

2016-06-18 Thread Aaron Voisine via bitcoin-dev
This works for segwit version 1 with the addition of also using a different chain id. I presume that segwit version 2 will be implementing schnorr signatures. What do we know about the likely implementation details? Is there any way to avoid using a third derivation path to support it? Aaron

Re: [bitcoin-dev] RFC for BIP: Derivation scheme for P2WPKH-nested-in-P2SH based accounts

2016-06-15 Thread Russell O'Connor via bitcoin-dev
On Wed, Jun 15, 2016 at 7:00 AM, Pieter Wuille via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: Indeed, and you can go even further. When there are multiple "sending" > outputs, pick one at random, and mimic it for the change output. This means > that if you have a P2PKH and 3 P2SH

Re: [bitcoin-dev] RFC for BIP: Derivation scheme for P2WPKH-nested-in-P2SH based accounts

2016-06-15 Thread Pieter Wuille via bitcoin-dev
On Jun 15, 2016 12:53, "Daniel Weigl via bitcoin-dev" < bitcoin-dev@lists.linuxfoundation.org> wrote: > > That would be a big privacy leak, imo. As soon as both outputs are spent, its visible > which one was the P2WPKH-in-P2SH and which one the pure P2WPKH and as a consequence > you leak which

Re: [bitcoin-dev] RFC for BIP: Derivation scheme for P2WPKH-nested-in-P2SH based accounts

2016-06-15 Thread Jochen Hoenicke via bitcoin-dev
Hello Daniel, Am 14.06.2016 um 17:41 schrieb Daniel Weigl via bitcoin-dev: > Hi List, > > Following up to the discussion last month ( > https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-May/012695.html > ), ive prepared a proposal for a BIP here: > > >

[bitcoin-dev] RFC for BIP: Derivation scheme for P2WPKH-nested-in-P2SH based accounts

2016-06-14 Thread Daniel Weigl via bitcoin-dev
Hi List, Following up to the discussion last month ( https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2016-May/012695.html ), ive prepared a proposal for a BIP here: https://github.com/DanielWeigl/bips/blob/master/bip-p2sh-accounts.mediawiki Any comments on it? Does