Post History
In Bitcoin, OP_RETURN is essentially a hack for publishing data on-chain without bloating the UTXO set: OP_RETURN is a Bitcoin opcode that makes the script fail instantly. Therefore, an output wit...
#1: Initial revision
In Bitcoin, OP_RETURN is essentially a hack for publishing data on-chain without bloating the UTXO set: `OP_RETURN` is a Bitcoin opcode that makes the script fail instantly. Therefore, an output with scriptPubKey of `OP_RETURN <SOME ARBITRARY DATA>` is provably unspendable and therefore Bitcoin Core v0.9 introduced a policy of excluding it from the UTXO set. Kaspa chose to avoid such hacks, and instead dedicated a transaction field, called payload, for storing data. Since this field is not part of the output, it won't be stored in the UTXO set in the first place.