Skip to main content

How Does a Node Decide Which Low-Fee Transactions to Drop from Its Mempool?

Nodes have a finite amount of memory to store unconfirmed transactions. When the Mempool becomes full, nodes must prune or drop transactions to make space for new, higher-fee ones.

The decision is typically based on the transaction's fee-per-byte (or fee-per-gas). Transactions below a certain minimum fee threshold or those that have been pending for an excessive duration are usually the first to be dropped.

Which Cryptocurrencies Are Most Vulnerable to Attacks Related to Low Difficulty?
Can a Pool Operator Unilaterally Decide to Execute a 51 Percent Attack?
How Does ‘Price-Time Priority’ in an Order Book Compare to Fee-Based Priority in a Mempool?
What Is the Trade-off a Pruned Full Node Makes Compared to an Archival Full Node?