BIP174: add hash preimage fields to inputs#955
Conversation
503bfc2 to
41c987f
Compare
41c987f to
2bc2606
Compare
2bc2606 to
277be22
Compare
|
ACK 277be22 |
|
All the per-input fields have |
|
I regret not having a watch turned on the bip repo, so I'm late with my comments, this is already merged. But IMO it would be better to have one new field, As I understand, there's no reason to have several preimages of different type for a single input. Thus having them in different fields creates ambiguity. Should having both |
|
@dgpv you can certainly have different kinds of preimages in one input (or multiple of a single kind of preimage) As for the names missing |
|
@apoelstra, what happened to the (c) part from https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2019-March/016720.html ?
I also see no PR for it being opened... |
These fields are needed to solve miniscripts, which may have hash preimage challenges.
See https://lists.linuxfoundation.org/pipermail/bitcoin-dev/2019-March/016720.html for some earlier (very short) discussion.