Research·Scaling

Inscriptions and the Argument About Blockspace

An inscription hides data inside a Taproot script that never executes, where the witness discount makes it four times cheaper than ordinary transaction data. Whether that is an abuse or a paying customer is a genuine disagreement, and the practical question underneath it is narrower than either side's framing.

Level
Intermediate
Reading
8 min
Published
2026-11-24
Reviewed
2026-11-24

In early 2023 a numbering scheme for individual satoshis turned into a way to store arbitrary files on Bitcoin, and the network has been arguing about it ever since. The argument is worth understanding because it is not really about images. It is about whether a transaction that pays the going rate can be wrong, and about who gets to decide.

What is an inscription, mechanically?

Data inside a script branch that is never executed, revealed in the witness of a Taproot spend.

Ordinal theory assigns every satoshi a serial number by the order in which it was mined, which makes individual satoshis trackable through transactions. An inscription attaches content to one of them, and the mechanism is a small trick.

The sender first creates a Taproot output committing to a script. That script wraps the content in an envelope beginning OP_FALSE OP_IF and ending OP_ENDIF. Because the condition is false, everything between is skipped by the interpreter — it is never run, never validated as code, and never costs anything to evaluate. A second transaction then spends that output along the script path, which requires revealing the script, which puts the content permanently in the witness.

So an inscription takes two transactions: a commit that reveals nothing, and a reveal that carries the payload. The 520-byte limit on individual stack elements still applies, so larger content is split across many pushes inside the envelope. The practical ceiling is the standard transaction weight limit of 400,000 weight units, which puts a single inscription at just under 400 kB of witness data.

Why did Taproot make this cheap?

Two changes compounded, neither of them aimed at this.

SegWit introduced the witness discount: data in the witness counts one weight unit per byte where everything else counts four. The reasoning was sound — a node can discard witness data after validating, while an output it creates must be stored forever, so the cheaper byte is the one that does less lasting damage.

Taproot then removed the 10,000-byte limit on script size in tapscript. Before it, a script could not be large enough to hold a meaningful file. After it, the only limits are standardness and the block itself.

Put together, Taproot made large scripts legal and SegWit made the bytes cheap. Nobody designing either was thinking about images; the discount was a judgement about long-term node cost, and tapscript’s limits were removed because they constrained legitimate contracts. The result is that inscriptions pay roughly a quarter of what the same data would cost in a transaction output, which is the discount working exactly as specified on a use case nobody modelled.

Is it a bug or a transaction?

Both positions are coherent, and a CVE exists saying one of them.

CVE-2023-50428 records the claim directly: datacarrier size limits “can be bypassed by obfuscating data as code (e.g., with OP_FALSE OP_IF), as exploited in the wild by Inscriptions in 2022 and 2023.” The entry then adds a note rarely seen in a vulnerability database — that although this is a vulnerability from the perspective of the Bitcoin Knots project, “some others consider it ‘not a bug.’”

The disagreement turns on what relay policy is for. One view: Bitcoin Core limited data carried in OP_RETURN outputs to discourage using the chain as a datastore, inscriptions defeat that limit by hiding data where the limit does not look, and the limit should therefore be extended. The other view: relay policy is each node’s choice about what to forward, never a rule about what is valid, and a transaction that pays the fee and breaks no consensus rule is a customer rather than an attacker.

What settles it in practice is neither argument. Filtering only works if nearly everyone filters, and a miner can be paid directly to include what the network refused to relay — which happened, visibly, within weeks of the first filtering attempts. A policy that the person it targets can simply route around is not a defence; it is a statement of preference with extra steps.

Why did Core remove the OP_RETURN limit?

Because the limit was pushing data into the worse place, and that argument eventually won.

For years the default allowed about 83 bytes in an OP_RETURN output — provably unspendable, so nodes can drop it from the unspent output set immediately. The constant in Bitcoin Core today is MAX_OP_RETURN_RELAY, defined as the maximum standard transaction weight divided by four: effectively the whole transaction, not 83 bytes.

The reasoning is the part worth following. Data that cannot fit in an OP_RETURN does not stop existing. It goes into fake public keys, into outputs that look spendable and never will be, and into witness envelopes — and the first of those is the genuinely harmful one, because an output that might be spent must be kept in the unspent output set by every node forever. Restricting the harmless carrier while leaving the harmful ones available is a policy that increases the damage it was written to prevent.

Reasonable people disagreed about this loudly, and the disagreement is not really technical. It is about whether Bitcoin’s software should express disapproval of uses it cannot prevent.

What changed with the second protocol?

The same author built the follow-up deliberately against the criticism, which is the most interesting thing anyone did in this episode.

Runes launched at the 2024 halving and encodes its data in an OP_RETURN output rather than a witness envelope. That choice costs four times as much per byte, because OP_RETURN data is not discounted. In exchange the data is provably unspendable, so every node can drop it the moment the block is validated, and nothing is added to the unspent output set that has to be carried forever.

It was also a deliberate replacement for a worse pattern. The token schemes already running on Bitcoin were tracking balances in tiny spendable outputs — exactly the dust that permanently enlarges the set every node must hold in memory. A protocol that pays more for its block space in order to leave no residue is the shape the critics had been asking for, and it arrived from the person they were criticising.

Whether that settles anything is a separate question. The complaint that remains is about purpose rather than mechanism: a block filled with token data at the market rate still crowds out payments, however politely it stores itself. But it narrows the argument to the part that is genuinely a matter of taste, which is progress.

What did it cost ordinary users?

Real money during the spikes, and the spikes were instructive.

Inscription demand produced the first sustained fee pressure since 2021, and the clearest single data point is the halving block of April 2024: block 840,000 collected 37.6 BTC in fees against a 3.125 BTC subsidy, more than twelve times the issuance. For anyone sending an ordinary payment that week, fee estimates rose by an order of magnitude and stayed there for days.

Two readings of that fact are both correct. Users paid more to transact, which is a cost. And miners earned a year’s worth of fee revenue in a weekend, which is the clearest demonstration yet that a fee market can exist at a scale that matters — the thing the subsidy’s decline makes necessary, demonstrated by the use everyone was complaining about.

The chain also grew faster. Witness data is still data, and a block full of inscriptions is near the 4,000,000 weight ceiling while carrying fewer payments than a block of ordinary transactions. Whether that is bad depends on whether you think blockspace should be allocated by price or by purpose, which is the same question the blocksize war was fought over with the positions reversed.

Check it yourself

An inscription is visible in a transaction’s witness. Fetch any reveal transaction and look at the witness stack rather than the outputs:

bitcoin-cli getrawtransaction <txid> true | grep -A5 txinwitness

The content sits in the second witness item, between the OP_FALSE OP_IF and OP_ENDIF markers, which is why block explorers showing only inputs and outputs display nothing unusual.

To see the weight effect directly, compare a block’s size against its weight:

bitcoin-cli getblockstats <height> | grep -E 'total_size|total_weight|^.swtotal'

A block heavy in witness data has a size much closer to its weight divided by four than an ordinary block does, because the discount is doing the work.

What remains uncertain

Whether demand persists. Inscription activity has come in waves and each wave has been smaller relative to expectations than the last. A fee market built on collectibles is not obviously the one that replaces the subsidy, and nobody can say whether this was a durable use or a fashion.

Whether policy filtering returns. The removal of the OP_RETURN limit settled a default, not an argument, and alternative node implementations ship stricter policies. If a substantial minority of relay capacity filters, the practical effect is slower propagation rather than prevention — and the resulting two-tier mempool is a thing nobody has studied.

What this implies about future unintended uses. Both enabling changes were carefully reviewed and neither review anticipated this. That is not a criticism of the reviewers; it is evidence that the consequences of a consensus change are not knowable in advance, which is the strongest available argument for changing as little as possible.

Sources

Nearby