Re: [bitcoin-dev] Taproot Fields for PSBT

2021-11-24 Thread Pieter Wuille via bitcoin-dev
On Wednesday, November 24th, 2021 at 7:44 AM, Sjors Provoost via bitcoin-dev wrote: > Hi Andrew, > > I'm confused why PSBT_IN_TAP_BIP32_DERIVATION and > PSBT_OUT_TAP_BIP32_DERIVATION > contain not just the derivation path for the xonlypubkey, but also the > tapleaf merkle path. > > First I

Re: [bitcoin-dev] Taproot Fields for PSBT

2021-11-24 Thread Greg Sanders via bitcoin-dev
I may be misunderstanding the question, but it seems essential data for the finalizer role, which may not know such information on its own. On Wed, Nov 24, 2021 at 11:15 PM Sjors Provoost via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > Hi Andrew, > > I'm confused why

Re: [bitcoin-dev] Taproot Fields for PSBT

2021-11-24 Thread Sjors Provoost via bitcoin-dev
Hi Andrew, I'm confused why PSBT_IN_TAP_BIP32_DERIVATION and PSBT_OUT_TAP_BIP32_DERIVATION contain not just the derivation path for the xonlypubkey, but also the tapleaf merkle path. First I thought it was perhaps necessary in order for a signer to guess which script leaves it can sign with its

Re: [bitcoin-dev] Taproot Fields for PSBT

2021-07-08 Thread Jeremy via bitcoin-dev
Suggestion: It should be allowed that different keys can specify different sighash flags. As an example, if chaperone signatures were desired with anyprevout, it would be required to specify that the anyprevout key sign with APO and the chaperone sign with ALL. As another example, Sapio emulator

Re: [bitcoin-dev] Taproot Fields for PSBT

2021-06-28 Thread Salvatore Ingala via bitcoin-dev
Hi Andrew, Thanks for the clarification, I was indeed reading it under the mistaken assumption that only one leaf would be added to the PSBT. En passant, for the less experienced readers, it might be helpful if the key types that are possibly present multiple times (with different keydata) were

Re: [bitcoin-dev] Taproot Fields for PSBT

2021-06-28 Thread Andrew Chow via bitcoin-dev
Hi Salvatore, On 6/28/21 6:03 AM, Salvatore Ingala wrote: > Hi Andrew, > > I just have a small suggestion on this proposal. > > On Tue, 22 Jun 2021 at 23:29, Andrew Chow via bitcoin-dev > wrote: > >> | Taproot Leaf Script >> | PSBT_IN_TAP_LEAF_SCRIPT = 0x15 >> | >> | The control block for

Re: [bitcoin-dev] Taproot Fields for PSBT

2021-06-28 Thread Salvatore Ingala via bitcoin-dev
Hi Andrew, I just have a small suggestion on this proposal. On Tue, 22 Jun 2021 at 23:29, Andrew Chow via bitcoin-dev < bitcoin-dev@lists.linuxfoundation.org> wrote: > | Taproot Leaf Script > | PSBT_IN_TAP_LEAF_SCRIPT = 0x15 > | > | The control block for this leaf as specified in BIP 341. The

[bitcoin-dev] Taproot Fields for PSBT

2021-06-22 Thread Andrew Chow via bitcoin-dev
Hi All, I would like to propose a BIP which defines new fields for Taproot support in PSBT. The full text is below, and the rendered file can be found at https://github.com/achow101/bips/blob/taproot-psbt/bip-taproot-psbt.mediawiki. Andrew Chow ---   BIP: taproot-psbt   Layer: Applications