Re: [bitcoin-dev] op_checktemplateverify and number of inputs

2020-01-26 Thread Jeremy via bitcoin-dev
Hi Billy, Restricting the number of inputs is necessary to preclude TXID malleability. Committing to all of the information required necessitates that the number of inputs be committed. This allows us to build non-interactive layer 2 protocols which depend on TXID non-malleability (most of them a

[bitcoin-dev] op_checktemplateverify and number of inputs

2020-01-26 Thread Billy via bitcoin-dev
I have a question about op_ctv related to the requirement to specify the number of inputs. I don't quite see why its necessary, but most importantly, I don't see why we want to *require* the user of the op to specify the number of inputs, tho I see the reasoning why one would want to specify it. If