[bitcoin-dev] MIN_STANDARD_TX_NONWITNESS_SIZE and OP_RETURN

Thomas Voegtlin thomasv at electrum.org
Sat May 23 14:49:03 UTC 2020


Hello list,

I have been trying to CPFP a transaction using OP_RETURN, because the
remaining output value would have been lower than the dust threshold.

The scriptPubkey of the output was OP_RETURN + OP_0, and there was a
single p2wsh input.

The result is a 60 bytes transaction (without witness), that gets
rejected because it is lower than MIN_STANDARD_TX_NONWITNESS_SIZE, which
is equal to 82 bytes.

Why is that value so high? Would it make sense to lower it to 60?


Thomas


More information about the bitcoin-dev mailing list