Bitcoin has two layers of rules for transactions. Consensus rules decide whether a transaction is valid inside a block, and every node must agree on them. Policy rules decide which unconfirmed transactions a node will accept into its mempool and pass on to peers, and each node operator can set them differently. Most confusion about stuck, rejected or invisible transactions comes from mixing the two up.
Consensus versus policy
A consensus rule is a condition on blocks. If a block breaks one, other nodes reject it, and the chain would split if some nodes disagreed. For that reason consensus rules change rarely and with broad coordination.
A policy rule is a local filter. It describes what a node is willing to store and relay before a transaction is mined. Breaking policy does not make a transaction invalid. It makes the transaction non-standard, which means ordinary nodes will not relay it, even though a block that contains it is perfectly acceptable.
| Question | Consensus | Policy |
|---|---|---|
| Who must agree? | All nodes, or the chain splits | Nobody; each operator chooses |
| What does it govern? | Valid blocks and transactions | Relay and mempool admission |
| How often does it change? | Rarely, with wide coordination | With ordinary software releases |
| Example | Block weight limit of 4,000,000 WU | Standard transaction weight limit of 400,000 WU |
This explains why a transaction can be valid and yet never appear in the mempool of the node you are watching.
What makes a transaction standard
Bitcoin Core collects its default relay rules in policy.h, and the source labels them as policy, not consensus. Standardness covers several families of checks.
A size cap on single transactions
The constant MAX_STANDARD_TX_WEIGHT is 400,000 weight units, which is 100,000 virtual bytes. A transaction larger than that is not relayed by default, even though the consensus limit for a whole block is ten times higher at 4,000,000 WU. The cap keeps any one transaction from consuming a tenth of a block and from imposing heavy validation work on relaying nodes.
Dust
An output so small that spending it would cost more in fees than it is worth is called dust. The source defines a dust relay fee, DUST_RELAY_TX_FEE, of 3,000 satoshis per thousand virtual bytes, and a transaction creating an output below the threshold derived from it is non-standard. The threshold depends on the output type, since different outputs cost different amounts to spend. Roughly, it works out to about 294 satoshis for a native SegWit key output and about 546 satoshis for a legacy key output, derived from the sizes in the weight guide.
Dust rules exist because every unspent output is a burden on nodes that track the set of unspent outputs, and tiny ones may never be economical to move.
Script forms and other checks
Policy also restricts which script types count as standard, how large certain scripts may be, and the version number of the transaction. These checks are why a transaction using an unusual script might be refused by default settings while still being valid on-chain.
The minimum relay fee
A node will not accept a transaction whose fee rate is below its minimum relay fee. For years the default was 1 sat/vB. The release notes for Bitcoin Core 30.0 record that the default minimum relay fee and the incremental relay fee were lowered to 0.1 sat/vB, and that the default minimum fee for including transactions in block templates, blockmintxfee, is 0.001 sat/vB.
The purposes of the two settings differ:
- Minimum relay fee: the floor for entering and traveling through mempools.
- Incremental relay fee: the step used when a replacement must outbid something already there. It governs how much extra a bump must pay, as explained in the guide on replace-by-fee and CPFP.
- Block minimum fee: the floor for a miner’s template, set by the miner independently of relay.
The practical result of a lower relay floor is that a transaction paying under 1 sat/vB can now propagate across nodes running recent software. Whether it confirms is a separate matter and depends entirely on miners.
Data-carrying outputs
A transaction can include an output that carries arbitrary data rather than a payment. These are provably unspendable and are not added to the set of unspent outputs. Core has a policy option, datacarrier, that decides whether to relay them, and a size option, datacarriersize, that sets how much data it accepts.
The 30.0 release notes state that the default value of datacarriersize is 100,000. The previous default limited such data to a much smaller allowance, roughly 83 bytes. This change is a policy change only. It does not alter consensus, and node operators remain free to set the option to a different value.
People involved in Bitcoin development and node operation disagree about whether relay policy should limit this kind of data. This guide describes the setting and the documented default and takes no side in that debate.
Cluster mempool limits in Core 31.0
Older versions limited how long a chain of unconfirmed transactions could be, using ancestor and descendant limits on both count and size. The 31.0 release notes describe a restructured mempool, called the cluster mempool, that removes those limits.
In its place, transactions that are connected by spending relationships are grouped into a cluster. The notes state that a cluster is limited to 64 transactions and 101 kvB in size. Two new RPCs, getmempoolcluster and getmempoolfeeratediagram, let operators inspect clusters and the order in which miners would choose transactions.
The benefit of clusters is that the node can reason about the mempool as an ordered list of fee-rate chunks, which supports the replacement rule from the same release: a replacement is accepted only if the feerate diagram strictly improves. The shape of the rules has changed, but the underlying idea is the same. Node operators bound how much work an unconfirmed set can cost them.
Checking policy on your own node
If you run a node, you do not have to guess whether a transaction passes policy. Bitcoin Core offers an RPC called testmempoolaccept that runs a raw transaction through the same checks as a real broadcast, without sending it. It reports whether the transaction would be accepted and, if not, the reason.
The reasons tend to fall into a few groups. A fee-rate message means the transaction paid less than the node’s floor. A size or weight message points to the standard transaction cap. A dust message names an output that is too small. A conflict message means another transaction already spends the same input and the replacement rules were not met. Each reason corresponds to a rule in the sections above, which makes the error text a reliable guide to what to change.
Two nodes can return different answers for the same transaction, which is the point of this guide. When they do, compare their versions and settings before concluding that something is wrong with the transaction.
Why policy exists at all
Policy rules are not arbitrary. Each one answers a cost that relaying nodes would otherwise bear for free. Anyone can broadcast a transaction to thousands of nodes, and each node spends bandwidth, memory and processing time on it. A free, unlimited service would invite abuse, so nodes set conditions.
- Fee floors make flooding costly.
- Size caps bound how much work one transaction can force.
- Dust limits slow the growth of the set of unspent outputs.
- Replacement and cluster limits bound the work of reordering the queue.
The trade-off is that tighter rules protect nodes but can block transactions that are legitimate. Loosening them does the opposite. Developers and operators weigh this, which is why defaults move over time, as the 30.0 and 31.0 changes show.
Why different nodes see different mempools
Policy is the main reason two nodes disagree about what is waiting. Settings differ, software versions differ, and uptime and memory limits differ. Specific examples:
- A node on an older version may still enforce a 1 sat/vB floor and reject what a newer one accepts.
- A node with a small memory limit evicts low-rate transactions sooner.
- A node configured with a stricter data-carrier size rejects transactions that another relays.
- Replacement behavior depends on version and on whether full replacement is enabled.
A transaction rejected by every node you can reach is not invalid. It is simply not relayed along the path you can see. The guide on reading the mempool explains how to treat that variability when you interpret a reading.
Miners can include non-standard transactions
Because policy is not consensus, a miner is free to include any valid transaction in a block, including ones that standard nodes would not relay. A transaction might reach a miner through a direct submission instead of the public peer network. If it is valid and pays enough, it can be mined, and from then on every node accepts the block.
This works in both directions. A miner can also leave out transactions that are perfectly standard. Mempool policy influences what miners see, but it does not bind them. That is why policy is best seen as a default filter that nearly everyone shares for practical reasons, not a rulebook.
What this means in practice
- If a transaction is rejected, read the error. A policy rejection names the rule, such as low fee, dust or size, and the fix is usually to change the transaction.
- Do not assume that a non-standard transaction is invalid. Do not assume the reverse either.
- Expect policy numbers to change between releases. Check the documented defaults for the software you use.
- Remember that the mempool is each node’s view. Your node’s rejection is not a network-wide verdict.
The network hub carries the live data, and the desk’s methodology states how it is sourced. This guide is educational and is not financial advice.
Frequently asked questions
What is the difference between consensus and policy?
Can a non-standard transaction be mined?
What is the default minimum relay fee now?
Why do two nodes show different mempools?
Sources
- Bitcoin Core policy.h (MAX_STANDARD_TX_WEIGHT, DUST_RELAY_TX_FEE) · Bitcoin Core
- Bitcoin Core 30.0 release notes · Bitcoin Core
- Bitcoin Core 31.0 release notes · Bitcoin Core
- Bitcoin Core consensus.h (MAX_BLOCK_WEIGHT) · Bitcoin Core
- RPC getmempoolinfo · Bitcoin Core developer documentation
Educational data only. Not financial, investment or tax advice; no licence is claimed. Bitcoin Prime publishes no forecasts, targets or trading signals.