Skip to main content
£0.00 0

Basket

No products in the basket.

ASIC mining articles and advice

OP_RETURN Explained: Bitcoin Policy, Consensus and Data Limits

OP_RETURN explained for Bitcoin operators: understand unspendable outputs, relay and mining policy, consensus validity and changing data-size defaults.

OP_RETURN explained guide cover

OP_RETURN explained for Bitcoin operators: understand unspendable outputs, relay and mining policy, consensus validity and changing data-size defaults.

TL;DR

OP_RETURN is a Bitcoin Script opcode that immediately makes the executed script fail. Bitcoin consensus rules determine whether a transaction can appear in a valid block. Bitcoin Core 0.9.0 introduced a standard data-carrier output limited to 40 bytes. Storing data in an output that looks spendable can burden the UTXO set because nodes must preserve it until it is spent.

OP_RETURN explained in simple English

OP_RETURN explained: Bitcoin Core 0.9.0 introduced a standard data-carrier output limited to 40 bytes. Later releases changed defaults and configuration while the basic consensus distinction remained.

Simple example

A mining technician is checking OP_RETURN explained. Build the failure response before the boundary arrives. A second hostname is not independent when both endpoints share one node.

Key terms in plain English

BIP:
Bitcoin Improvement Proposal: a document that suggests or explains a change to Bitcoin. A BIP number does not mean the idea is active.
Bitcoin Core:
Widely used Bitcoin software. It can check blocks and transactions and provide wallet, network and operator tools.
Consensus:
The shared rules that Bitcoin or another network uses to decide whether blocks and transactions are valid.
Node:
A computer running network software that checks data and talks to other computers on the network.
ASIC:
A computer built to do one specialised job. A mining ASIC is designed for a particular proof-of-work algorithm.

What OP_RETURN does

OP_RETURN is a Bitcoin Script opcode that immediately makes the executed script fail. In a transaction output, that property is useful because it marks the output as provably unspendable. A node does not need to retain such an output in its spendable UTXO set.

At the same time, the bytes placed after the opcode remain recorded in the transaction and therefore in the blockchain if a miner includes it.

Start with the validating node, because the ASIC only hashes the candidate header it receives. Record the node release and the pool component that assembled the block. If those facts are unknown, the operator cannot show which rules were actually applied before electricity was committed to the work.

Consensus validity is not relay policy

Bitcoin consensus rules determine whether a transaction can appear in a valid block. Node policy determines whether an individual node accepts the transaction into its mempool, relays it to peers or selects it for a block template. A transaction can therefore be consensus valid but rejected by a node’s standardness policy. OP_RETURN debates often become confused when those two layers are described as one limit.

Treat status dashboards as observations, not as the source of truth. Compare them with an independently operated node and retain the raw deployment or template response. Period boundaries, chain reorganisations and cached pool pages can otherwise make a correct-looking percentage describe the wrong state.

How the data-carrier limit evolved

Bitcoin Core 0.9.0 introduced a standard data-carrier output limited to 40 bytes. Later releases changed defaults and configuration while the basic consensus distinction remained. Bitcoin Core 30.0 increased the default datacarriersize to 100,000 and allowed multiple data-carrier outputs, applying the configured aggregate limit across their scriptPubKeys. Other node software or operators can choose different relay and mining policy.

OP_RETURN explained technical diagram
How the data-carrier limit evolved: a practical view of the validation, signalling and mining boundary.

Build the failure response before the boundary arrives. Define which rejection messages trigger an alert, who can pause a template source and how failover is prevented from returning miners to the same faulty validation stack. A second hostname is not independent when both endpoints share one node.

Why provably unspendable matters

Storing data in an output that looks spendable can burden the UTXO set because nodes must preserve it until it is spent. An OP_RETURN output is visibly unspendable. So implementations can exclude it from that long-lived set. The transaction still consumes block weight and permanent chain storage. It is therefore inaccurate to call OP_RETURN free storage or to say it has no node cost.

Separate readiness, signalling and enforcement in the operating log. Readiness is a claim about software and process, signalling is data carried by blocks, and enforcement is a validation result. Combining them into a single supported or unsupported label hides the point at which revenue is actually at risk.

What miners can configure

A miner or pool may configure relay thresholds, data-carrier policy and block-template selection within consensus limits. A stricter mempool does not invalidate a looser miner’s block. Conversely, seeing a transaction in one mempool does not guarantee that the operator’s chosen pool will mine it. Operators should identify the policy of the actual template provider and every failover endpoint.

Map responsibility across the full path: validating node, template server, pool protocol, proxy, firmware and ASIC. For each layer, state what it can alter and what it merely relays. This prevents a version-bit setting in firmware from being mistaken for complete consensus-rule support. Relate that responsibility map to the pool and job-control boundary in our Stratum V2 guide.

Fees, propagation and confirmation

Data-bearing transactions compete for block space according to weight, feerate and the policies of nodes they reach. A transaction accepted locally may propagate poorly if peers use stricter defaults. Direct submission to a willing miner may still result in confirmation. But it creates a different reliability model. Wallets should not assume that the current Bitcoin Core default is universal across the network.

Test the primary and failover paths with the same checks. Compare chain tip, chainwork, deployment state, required rules and template age, then save the result with a timestamp. The process should be repeatable by another operator without relying on an undocumented pool conversation.

A policy audit for pool operators

Record datacarrier and minimum-feerate settings, inspect getmempoolinfo and compare template contents against an independent node. Test configuration changes in isolation, because a restart or version upgrade can alter defaults. Publish a clear policy so customers can distinguish a deliberate template choice from censorship claims, node lag or a simple propagation failure.

Turn the conclusion into a business decision. State which chain and settlement venues the operation intends to serve, the maximum acceptable stale-block exposure and the point at which mining pauses. This connects protocol evidence to electricity cost, pool revenue and payout finality.

Operator decision record

A concise decision record for OP_RETURN explained should name the source documents, their dates, the node release tested, the responsible pool or template provider and the exact trigger for action. Include screenshots or machine-readable output for the deployment state. But keep the raw node response as the stronger evidence.

State whether a change affects policy, block construction or consensus validity, because those layers have different failure costs.

Run the check on every production and failover path. Confirm that monitoring alerts on stale templates, unexpected chain tips, rejected proposals and a rise in stale shares. Keep rollback instructions for node and pool configuration. But do not roll back across an active consensus boundary without understanding the rules the older release enforces.

If the evidence conflicts, pause the affected path and investigate before committing more electricity to uncertain work.

For related background, read our plain-English BIP-110 guide and technical BIP-110 review. Those articles use a modern proposal to show why signalling, activation, template construction and accepted chain history must be examined separately.

Conclusion

Op_return explained is best understood as a defined interaction between validating software, mining infrastructure and economic acceptance. The safest operator does not infer consensus from a dashboard percentage or a pool slogan. They verify the rule source, the activation boundary, the template fields and the chain their payouts ultimately settle on. That discipline reduces the chance of hashing an invalid or commercially unwanted block.

Frequently asked questions

What is the main point of OP_RETURN explained?

OP_RETURN explained: Bitcoin Core 0.9.0 introduced a standard data-carrier output limited to 40 bytes.

For OP_RETURN explained, what should a beginner know about what OP_RETURN does?

OP_RETURN is a Bitcoin Script opcode that immediately makes the executed script fail.

For OP_RETURN explained, what should a beginner know about consensus validity is not relay policy?

Bitcoin consensus rules determine whether a transaction can appear in a valid block.

For OP_RETURN explained, what should a beginner know about how the data-carrier limit evolved?

Bitcoin Core 0.9.0 introduced a standard data-carrier output limited to 40 bytes.

Primary sources

Primary specifications are living technical records. Check their current status and changelog before using this article for a production activation decision.

ASIC MINER PICKS

Recommended ASIC Mining Hardware

Compare three of our highest ranked ASIC miners currently available, with live product details and pricing.
Browse all ASIC miners
MORE MINING ADVICE

More ASIC Mining Articles

Read practical advice about choosing hardware, calculating electricity costs, setting up miners, hosting and maintenance.
MINER COMMUNITY

Join the ASIC Mining Discussion

Ask a question or share what has worked for you. Your experience may help another miner make a better decision.

Members can read and join the discussion

Log in to read comments from other miners. Create a free account if you would like to ask a question or share your experience.

Log in to read comments Register to join the discussion

Membership helps us protect the discussion from spam and keep answers useful.

ASIC MINING SUPPORT

Need Help Choosing an ASIC Miner?

Tell us what you want to mine, your electricity cost and where the machine will run. We can help you compare hardware, power requirements, hosting and repairs.
Contact our mining team
Browse ASIC miners