Mempool
A temporary storage space in a node for pending transactions that have not yet been included in a confirmed block.
The Mempool, short for memory pool, is a temporary storage space in a node for all pending transactions that have not yet been included in a confirmed block. Not all nodes have a mempool, and those that do may not accept all broadcast transactions. Each node operator can configure mempool size limits and minimum fee thresholds, which helps prevent spam transactions and denial-of-service attacks. The mempool serves as a crucial buffer between transaction creation and blockchain confirmation.
Miners running full nodes collect all broadcast transactions into their mempool. They typically select the transactions with the highest fees for inclusion in the next block, confirming them and removing them from the mempool. This economic incentive system ensures that miners prioritize transactions that compensate them appropriately for the blockchain space they consume. On networks like Bitcoin Cash, the larger block capacity allows miners to include more transactions per block, which can lead to faster confirmation times and lower required fees.
As a block is validated by the rest of the network, each node removes the block's included transactions from their own mempool. This process ensures that transactions are not included in more than one block. If a transaction remains in the mempool for too long, it may eventually be dropped by nodes, requiring the sender to rebroadcast it or submit a new transaction. The transmission of transaction data between nodes and the maintenance of their mempools is a fundamental part of the peer-to-peer network's operation.
The size of the mempool can indicate the level of congestion on the network. If there are more transactions than can be included in a single block, the mempool grows, leading to longer confirmation times and higher fees. During periods of high transaction volume, users may need to pay higher fees to have their transactions prioritized. Networks with larger block capacities like Bitcoin Cash can process more transactions per block, which helps prevent mempool congestion and keeps fees low even during usage spikes.
Monitoring the mempool can provide valuable insights for users and businesses using a blockchain. Various tools and services track mempool statistics like size, fee distributions, and transaction counts to help users make informed decisions about when to send transactions and what fees to include. This information can be particularly useful for time-sensitive transactions or when optimizing fee expenditures.
Related terms
5 linkedExplore connected entries beyond the alphabetical index.
Fee
→A transaction fee is the amount paid for block inclusion, compensating block producers and discouraging spam.
Fee Rate
→A fee rate is the transaction fee per unit of size, such as satoshis per vbyte, used to prioritize block inclusion.
Confirmations
→The count of blocks confirming a transaction, usually including the block that first contains it.
Block
→A batch of valid transactions added to a blockchain, linked to the previous block by a cryptographic hash.
Fee Market
→A fee market is the competition for block space where users bid transaction fees for faster inclusion.
All terms and definitions may update as the Cryptionary improves.
