คลังคำศัพท์

Mempool

Moderate

A mempool is the node's collection of all of the unconfirmed transactions that it has seen.

What Is a Mempool?

A mempool is essentially a cryptocurrency node's mechanism for storing information on unconfirmed transactions, acting as a waiting room for transactions that have not yet been included in a block. 

In fact, to submit a transaction to the miners, nodes have to relay it to each other until it has propagated across the entirety of the network. This mempool is the node's holding area for all of the pending transactions.

A mempool is the node's collection of all of the unconfirmed transactions that it has seen, which enables it to decide whether or not to relay a new transaction.

There are as many mempools as there are nodes. This is due to the fact that not all nodes receive the same transactions at the same time, so some nodes store more information than others at a given time. Everyone can run their own node with the hardware that they pick, so all of the nodes have different capacities that can store unconfirmed transactions. The result of this? Each node has its own rendition of the pending transactions, and this explains the variety of the mempool sizes as well as the transaction counts found throughout different sources.

When a node receives a new valid block, it ends up removing all of the transactions which are contained in the block from its mempool, as well as the transactions that have conflicting inputs. This can result in a sharp drop within the mempool size.

There is no financial incentive for running a node, and the hardware that is dedicated to it is often limited. A node's mempool often maxes out its RAM, and when this happens, the node will just crash and restart with an empty mempool throughout older versions of Bitcoin. However, as of the recent updates, if the mempool size gets too close to the RAM capacity, the node sets up a minimal fee threshold, and here, transactions with fees per kB lower than this threshold can immediately be removed from the mempool, and only the new transactions with a fee per kB large enough aren't allowed on it.

Related Articles

Easy
CMC Crypto News
Fireblocks Cuts Cost of Quantum-Safe Bitcoin Spends to About $3
Fireblocks released Post-Quantum Bitcoin, an open-source format it says makes quantum-resistant BTC spends about 20 times cheaper with no soft fork needed.
โดย Motoko Kusanagi
2 days ago
2ในการอ่าน
Easy
CMC Crypto News
Bitcoin Core Discloses 3 Patched Flaws, Including High-Severity Bug
Bitcoin Core disclosed three fixed vulnerabilities, including a high-severity bug that could stop a node from building blocks after certain reorganizations.
โดย Motoko Kusanagi
3 weeks ago
2ในการอ่าน
Easy
CMC Crypto News
Electrum Patches Bitcoin Wallet Bug Exploited by Malicious Servers
Electrum fixed a flaw that let malicious servers swap a user's Bitcoin payment for a fake one, after a user lost funds by raising the fake transaction's fee.
โดย Motoko Kusanagi
1 month ago
2ในการอ่าน
Easy
CMC Crypto News
Aptos Launches Encrypted Mempool on Mainnet to Curb MEV Attacks
Aptos made an opt-in Encrypted Mempool and Confidential APT live on mainnet, letting users encrypt pending transactions until blocks finalize to cut MEV risk.
โดย Motoko Kusanagi
1 month ago
2ในการอ่าน
Easy
Tech Deep Dives
What Is Automata Network (ATA)? Features, Tokenomics and Price Prediction
CoinMarketCap takes a deep dive into Automata Network (ATA), a privacy-first cross-chain infrastructure for Decentralized Applications (DApps), that offers non-intrusive integrations.
โดย Hassan Shafiq
5 years ago
10ในการอ่าน