Communities

Kaspa Q&A
Kaspa Q&A
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »
Kaspa Q&A

What's the difference between transaction payload and OP_RETURN data?

+0
−0

What's the difference between Kaspa's transaction payload and Bitcoin's OP_RETURN data?

History

0 comment threads

1 answer

+0
−0

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.

History

0 comment threads

Sign up to answer this question »