BITCOIN MAINNETLive explorer status
NO ONE IN CHARGE

Relay policy and standardness

Nodes apply extra rules about which transactions they relay and keep in their mempool. Learn how policy differs from consensus and why it matters.

A second layer of rules

A transaction passes consensus checks, then the node's own policy, before it's relayedNew transactionConsensusvalid?Policystandard?Relayand keepin mempool
A transaction passes consensus checks, then the node's own policy, before it's relayed

On top of Consensus rules, each node applies policy: its own choices about what to relay and keep in its mempool. Policy protects nodes from spam and denial-of-service, and makes upgrades safer.

Common policyPurpose
Minimum relay fee rateAvoid relaying free spam
Dust limitAvoid creating uneconomical outputs
Standard script types onlyKeep unusual scripts out until they're reviewed
Maximum standard transaction sizeLimit expensive validation
Replacement rulesGovern Replace-by-fee (RBF)
OP_RETURN data limitsLimit data relay (see OP_RETURN data outputs)

Non-standard but valid

A transaction that breaks policy is "non-standard". Most nodes won't relay it, but if a miner includes it in a block, every node still accepts the block, because consensus rules allow it.

Why policy helps upgrades

Unknown future script versions are non-standard to spend today. That stops people accidentally using new features before a soft fork defines their rules.

Policy changes

Policy can change between software versions without a fork. For example, recent Bitcoin Core versions lowered the default minimum relay fee rate and relaxed OP_RETURN limits. Different node operators may run different settings.

Policy vs consensus at a glance

ConsensusPolicy
DecidesWhat is valid in a blockWhat a node relays and keeps
Changed bySoft forksNode settings and releases
Different between nodes?Must not beCan be
Breaking it meansBlock rejected by everyoneTransaction not relayed by some nodes

Getting a non-standard transaction mined

Some mining pools accept transactions submitted directly to them, outside normal relay. That's how valid but non-standard transactions still end up in blocks.

Share this guide
Share on X ↗

Key takeaways

  • Policy decides what a node relays; consensus decides what's valid.
  • Non-standard transactions can still be valid in blocks.
  • Policy changes don't need a fork.

Common questions

Why won't my transaction propagate?

It may break a node policy, such as a fee rate below the minimum, dust outputs, or an unusual script.

Can I change my node's policy?

Yes, many policy settings are configurable in Bitcoin Core.

What makes a transaction non-standard?

Things like unusual script types, outputs below the dust limit, oversized data or fee rates below the minimum relay rate.

Is a non-standard transaction invalid?

No. It's valid if a miner includes it; most nodes just won't relay it.