Safer sighashes and more granular SIGHASH_NOINPUT



Summary:

The topic of discussion in a recent bitcoin-dev email is the issue of "signature covers witness weight." Although signing the witness weight does not completely eliminate witness malleability, it does prevent the worst kind of witness malleability from a user's perspective. This is when malicious relay nodes increase the amount of witness data and decrease the overall fee-rate of the transaction. However, there are questions about how much of an actual problem this is. If a mutated transaction pays at least the incremental-relay-fee below the original transaction, then the original transaction can be rebroadcast as a Replace-by-Fee (RBF) replacement of the mutated transaction, unless the mutated version has been pinned. The incremental-relay-fee is defined as the fee rate used to define the cost of relay and is used for mempool limiting and BIP 125 replacement. There is also a link provided for more information on transaction pinning.


Updated on: 2023-06-13T15:27:19.679836+00:00