Research·Scaling

There Is No Mempool

People speak of the mempool as though it were a place. It is not. Every node keeps its own collection of unconfirmed transactions, bounded by its own memory limit and filtered by its own policies, and those collections differ — which is why a transaction can be visible on one site and absent from another.

Level
Intermediate
Reading
7 min
Published
2026-11-28
Reviewed
2026-11-28

Ask where an unconfirmed transaction is and the honest answer is: in some nodes and not others, depending on what each of them was willing to accept and had room for. There is no canonical waiting room, no queue, and no authority on what is pending. Most of the strange behaviour people encounter before a confirmation follows from that.

What does a node actually keep?

A bounded set of transactions it has accepted and has not yet seen in a block.

Bitcoin Core defaults to 300 megabytes for it, and five megabytes when running in blocks-only mode. Transactions expire after a default of 336 hours — two weeks — and are dropped whether or not anybody still cares about them. Both numbers are configuration, not rules, and an operator can set them differently.

What a node admits is decided by its policy: a minimum relay fee rate, standardness checks, limits on how many unconfirmed ancestors and descendants a transaction may have. A transaction failing any of them is not invalid; it is simply not something this node will hold or pass on.

So two nodes started from the same software, with different settings or different uptime, hold different sets. Two nodes running different implementations can differ more, and a node configured to reject non-standard transactions — which is the default — will be missing things a more permissive neighbour is happily relaying.

Why does a transaction vanish?

Because a full node evicts, and eviction is forgetting.

When the set exceeds its memory limit, a node drops the lowest-fee-rate packages until it fits, and raises its own minimum to the rate of the cheapest thing it dropped. That minimum decays back toward the floor as space frees.

The consequence surprises people. A transaction broadcast at a low fee during a quiet period can be evicted everywhere during a busy one, at which point it exists only in the sender’s wallet — which still shows it as pending, because the wallet remembers what it created. Nothing rejected it and nothing confirmed it; the network simply forgot.

Rebroadcasting fixes this when fees have fallen and does not when they have not, which is why the reliable answer to a stuck transaction is to replace it at a higher rate rather than to send it again.

Is the mempool part of consensus?

No, and that is the single most useful thing to know about it.

Nothing about which transactions a node holds affects whether a block is valid. A miner can include a transaction no public node ever relayed, and every node will accept the block containing it. A transaction every node holds can simply never be mined.

That is why the mempool is better described as each node’s guess about what might be mined next. The guess is usually good, because most miners run similar policies and see similar transactions. It is a guess nonetheless, and everything built on it — fee estimation, wallets predicting confirmation, layer-two protocols assuming a transaction will reach miners — inherits the uncertainty.

What is the set actually for?

Three jobs, and only one of them is the one people assume.

The obvious job is holding transactions until they are mined, which a miner needs and an ordinary node does not. The other two are why every node keeps one anyway.

It makes block relay fast. Compact block relay sends short identifiers rather than whole transactions, and the receiving node reconstructs the block from what it already holds. A node with a representative mempool rebuilds a new block in milliseconds from a few kilobytes; a node with an empty one has to request everything, which is slower for it and more expensive for its peers.

And it supplies the history behind fee estimation. A node learns what confirmed quickly and what did not by watching transactions enter its own set and later appear in blocks. That record is personal to the node, which is another reason two nodes can quote different fee estimates from the same chain.

So the mempool is better understood as working memory than as a waiting room. It exists to make the node fast and informed, and holding pending payments is a side effect.

Why do explorers disagree?

Because each is reporting one node’s view, plus its own choices.

A site showing pending transactions is showing what its own infrastructure accepted. If it runs non-default policies, it holds things others do not. If it has more memory, it holds more. If it is better connected, it sees things sooner.

This is worth remembering when a transaction appears on one site and not another. Neither is wrong, and the disagreement is not a sign of a problem; it is the system working as designed, visible for once.

The same applies to the pending-transaction counts and fee histograms people quote. They are measurements of one observer, presented as though they described the network, and the differences between observers are largest exactly when the network is busy and the numbers matter most.

How does a transaction get into one at all?

By being relayed, hop by hop, with each node applying its own rules before passing it on.

A wallet hands the transaction to a node, which checks it against everything described above and, if it accepts it, announces it to its own peers. Each of those does the same. There is no broadcast in the sense of one message reaching everybody — there is a flood of independent accept-or-reject decisions spreading outward.

That structure explains two things. Propagation is fast but uneven, so a transaction reaches well-connected nodes in a second and poorly connected ones noticeably later. And a transaction that one well-placed node refuses may fail to cross the part of the network behind it, which is how a policy difference turns into a propagation boundary.

It also means the relay layer is where a sender’s privacy is most exposed. The first node to announce a transaction is a strong hint about where it came from, which is the reason transport encryption and careful broadcast behaviour matter more than their technical modesty suggests.

Does the mempool survive a restart?

In Bitcoin Core, yes, which is more useful than it sounds.

The set is written to disk on shutdown and reloaded on startup, so a node restarting does not lose everything it was holding and does not have to be re-told about transactions it already knew. Without that, a restart would make the node briefly blind to pending activity and would degrade the fee estimates that depend on its history.

It also means a node’s view carries some of its own past. Two nodes with identical settings can differ simply because one was offline for an afternoon, which is a reminder that the collection is a product of a particular machine’s history rather than a shared state anybody maintains.

Why does any of this matter?

Because several things are built on the assumption that the mempool resembles the next block.

Fee estimation reads it. Wallets decide whether to warn you. Payment channels assume a fee-bumping transaction will propagate and be mined. Each of those degrades if a meaningful share of what gets mined never passed through public relay — which is the real argument against using relay policy to express preferences about use, because filtering relocates transactions rather than preventing them.

It also sets the right expectation for a user. An unconfirmed transaction is not in a queue with a position. It is a proposal held by some machines, competing with every other proposal, and the only thing that settles it is a miner choosing to include it.

Check it yourself

Your own node’s view is one command, and comparing it to a public site is instructive:

bitcoin-cli getmempoolinfo

size is how many transactions it holds, bytes how much space they occupy, maxmempool the configured limit, and mempoolminfee the rate below which it is currently refusing. Compare that count against whatever a popular explorer reports at the same moment; the gap is the subject of this article.

To see whether a specific transaction is in your node’s set:

bitcoin-cli getmempoolentry <txid>

An error means your node does not have it, which tells you something about your node and nothing about the transaction.

What remains uncertain

How much the views actually diverge. Nobody publishes a systematic comparison across nodes and implementations. The differences are obvious anecdotally and unmeasured, and they matter most during the periods when measurement is hardest.

How much is mined without public relay. Direct submission to miners happens and its share is not published. Everything downstream of the mempool assumes that share is small, and the assumption is untested.

Whether defaults will continue to converge. The usefulness of the mempool as a predictor depends on most participants running similar policies. Several implementations now ship different ones deliberately, and if that spreads the predictor degrades without any single change being responsible.

Sources

Nearby