[bitcoin-dev] Version 1 witness programs (first draft)

Luke Dashjr luke at dashjr.org
Sun Oct 1 20:43:18 UTC 2017


On Sunday 01 October 2017 8:39:11 PM Mark Friedenbach wrote:
> What about an optional commitment to witness size in bytes? The value zero
> meaning “I don’t care.” I would argue that it should be a maximum however,
> and therefor serialized as part of the witness. The serialization of this
> would be very compact (1 plus the difference between actual and maximum,
> with zero meaning not used.)

Could just do SIGHASH_WITNESS_SIZE in addition to SIGHASH_WITNESS_DEPTH...


More information about the bitcoin-dev mailing list