This guide explains Bitcoin Core getmempoolinfo RPC in plain English. It shows what the command does, what its result means and what it cannot prove.
TL;DR
- What it is: Bitcoin Core 0.16.0 getmempoolinfo summarised the active transaction memory pool. It reported transaction count, total virtual sizes, allocator memory usage, configured maximum memory, the current acceptance floor and minimum relay fee.
- Why it matters: getmempoolinfo provides a compact capacity and fee-pressure view, but only when each field’s unit and node-local policy meaning remain explicit. It is not a global demand oracle.
- Current position: Bitcoin Core 0.16.0 getmempoolinfo summarised the active transaction memory pool.
Bitcoin Core getmempoolinfo RPC in simple English
Bitcoin Core getmempoolinfo RPC: Warn on sustained usage near capacity, rising floors, unexpected configuration changes and disagreement with peer nodes. Use duration and service impact.
Simple example
A miner is checking Bitcoin Core getmempoolinfo RPC. Record the preceding floor, usage, configuration and transaction package before diagnosing. Size is transaction count. Bytes is the sum of BIP 141 virtual transaction sizes.
Key terms in plain English
- BIP:
- Bitcoin Improvement Proposal: a document describing a proposed rule, standard or process. Its status must be checked separately.
- Bitcoin Core:
- Widely used software that validates Bitcoin and can provide wallet, network and operator tools.
- RPC:
- A command that software sends to a node to request information or a local action.
- Consensus:
- The shared rules full nodes use to decide whether blocks and transactions are valid.
- Mempool:
- A node’s changing local collection of valid, unconfirmed transactions.
Count and virtual bytes
size is transaction count; bytes is the sum of BIP 141 virtual transaction sizes. Neither equals allocator memory. Track both because batching, witness composition and transaction shapes can change byte pressure without proportional count movement.
Usage and maximum
usage measures dynamic mempool memory while maxmempool is the configured ceiling. The relationship is not a simple percentage of transaction bytes because indexes and objects add overhead. Leave host headroom for database cache, peers, wallets and the operating system.
Fee floors
mempoolminfee is the higher of the relay floor and the rolling minimum induced by mempool pressure. Minrelaytxfee is the ordinary local relay floor. Historical units are BTC/kB. Convert carefully and never advertise one node’s value as a network-wide required fee.
Eviction behaviour
When memory pressure forces eviction, the rolling minimum can rise and then decay over time. Transactions missing after pressure may have been evicted rather than rejected by consensus. Record the preceding floor, usage, configuration and transaction package before diagnosing.
Node-local demand
Peers relay different subsets under different policies and timing, so mempools diverge. Compare several controlled nodes and fee-estimation evidence. A low value after restart or network isolation is not evidence that demand disappeared.
Alert design
Warn on sustained usage near capacity, rising floors, unexpected configuration changes and disagreement with peer nodes. Use duration and service impact. Automatically enlarging maxmempool can exhaust hosts and does not solve poor fee or transaction policy.
How specialists test it
Operators test the command on a non-production node first. They check a normal reply, an invalid request, a timeout and a restart. This shows what the response means and prevents one local result from being mistaken for a network-wide outcome.
Frequently asked questions
What is the main point of Bitcoin Core getmempoolinfo RPC?
Bitcoin Core getmempoolinfo RPC: Warn on sustained usage near capacity, rising floors, unexpected configuration changes and disagreement with peer nodes.
For Bitcoin Core getmempoolinfo RPC, what should a beginner know about count and virtual bytes?
size is transaction count. Bytes is the sum of BIP 141 virtual transaction sizes.
For Bitcoin Core getmempoolinfo RPC, what should a beginner know about usage and maximum?
usage measures dynamic mempool memory while maxmempool is the configured ceiling. The relationship is not a simple percentage of transaction bytes because indexes and objects add overhead.
For Bitcoin Core getmempoolinfo RPC, what should a beginner know about fee floors?
mempoolminfee is the higher of the relay floor and the rolling minimum induced by mempool pressure.
Conclusion
getmempoolinfo provides a compact capacity and fee-pressure view, but only when each field’s unit and node-local policy meaning remain explicit. It is not a global demand oracle.
Primary sources
Check the current specification status and the documentation for the exact implementation you operate before moving production funds or changing a mining node.
Join the ASIC Mining Discussion
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.
Membership helps us protect the discussion from spam and keep answers useful.