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.

How Does a Miner Select Which Transactions to Include in a Block?
What Is the Minimum Number of Nodes Required to Form a Valid Threshold Signature?
How Do Nodes Manage the Size and Contents of Their Mempools?
What Is the Significance of a “Memory-Hard” Algorithm in Resisting ASIC Development?
What Are the Potential Consequences of Setting a TWAP Time Period That Is Too Short or Too Long?
Why Do Some Nodes Have a Minimum Fee Threshold for Relaying?
How Does a Miner Choose Which Transactions to Include from the Mempool?
How Does a Miner Decide Which Transactions to Include in a Block?

Glossar