Episode 61: OP_RETURN (And the ‘OP_RETURN Wars’)
Bitcoin Explained - The Technical Side of Bitcoin

Episode 61: OP_RETURN (And the ‘OP_RETURN Wars’)

Jul 15 2022 • 26m 17s
Boost episode

Show Notes

In this episode of Bitcoin, Explained, hosts Aaron van Wirdum and Sjors Provoost discuss OP_RETURN and what some have called the “OP_RETURN wars”. More specifically, they discuss a blog post by BitMEX research titled: “The OP_Return Wars of 2014 – Dapps Vs Bitcoin Transactions”. Aaron and Sjors start off by explaining that OP_RETURN is an op code (a piece of code for Bitcoin transactions) that will render invalid any transaction that includes it in an input. This means that outputs that include OP_RETURN are unspendeable, which in turn means that Bitcoin nodes can safely remove such UTXOs from their UTXO set, which safes on storage. Early in Bitcoin’s years, people started using Bitcoin for more than just transactions. As one example given by Sjors, someone uploaded the entire Bitcoin white paper onto the blockchain. The BitMEX blog meanwhile explains that Layer Two protocols like Counterparty were rolling out decentralized applications on the blockchain. This type of non-transaction data was initially embedded in multisig transactions, but this meant that all Bitcoin nodes had to download, process and store this data forever, which comes at a cost. To mitigate this problem, Aaron and Sjors explain, Bitcoin developers in 2014 agreed to let nodes process and forward transactions with OP_RETURN outputs. These transactions would be better for uploading data, since their outputs can be removed form the UTXO set. The “OP_RETURN wars” refer to a debate between Bitcoin developers and (most notably) Counterparty developers over the maximum size of such transactions. Sjors explains why the maximum of 40 bytes was initially choses, why this was later increased to 80 bytes, and how these considerations have changed over time. BitMEX’ blog post: Sjors’ book mentioned in the episode: Evan Kaloudis tells P & Q what hyperbitcoinization means to him. Lower your time preference and lock-in your BITCOIN 2023 conference tickets today! Use the code BMLIVE for a 10% Discount! Use promocode: BMLIVE for 10% off everything in our store! #bitcoin #bitcoinmagazine #hyperbitcoinization #money #whatismoney #whatisbitcoin #crypto #cryptocurrencies #globalmarkets
Show more


500 sats
Jul 19 2022
250 sats
Jul 21 2022
Thanks for covering this topic! 🔥⚡
20 sats
Aug 1 2022
10 sats
Jul 28 2022
3 sats
Jul 20 2022
learned new things about Bitcoin
2 sats
Aug 1 2022