Debate: 64 bytes in OP_RETURN VS taproot OP_FALSE OP_IF OP_PUSH



Summary:

In a Bitcoin-dev mailing list on January 31, 2023, Christopher Allen asked whether it's better to use a traditional OP_RETURN or a spent Taproot transaction when placing a 64-byte data into the Bitcoin blockchain. Peter Todd suggested using OpPush and OpDrop, but Andrew Poelstra explained that OpPush has a limit of 520 bytes, and 80 bytes by standardness in Taproot, so it's more efficient to use FALSE IF ... ENDIF if one needs multiple pushes to avoid repeated DROPs. Andrew Poelstra is the Director of Research at Blockstream.


Updated on: 2023-06-16T04:16:13.172658+00:00