Close Menu
  • Coins
    • Bitcoin
    • Ethereum
    • Altcoins
    • NFT
  • Blockchain
  • DeFi
  • Metaverse
  • Regulation
  • Other
    • Exchanges
    • ICO
    • GameFi
    • Mining
    • Legal
  • MarketCap
What's Hot

Galaxy Digital Says Helios a ‘Gold Rush,’ Reveals Q3 Revenue Beat and Client Growth

12/11/2025

Privacy on trial as Samourai Wallet cofounder lands in jail for writing code

12/11/2025

Robinhood CEO Says Once Tokenization Enables 24/7 Markets, Change Is Irreversible

12/11/2025
Facebook X (Twitter) Instagram
  • Back to NBTC homepage
  • Privacy Policy
  • Contact
X (Twitter) Telegram Facebook LinkedIn RSS
NBTC News
  • Coins
    1. Bitcoin
    2. Ethereum
    3. Altcoins
    4. NFT
    5. View All

    Price Breaks All-Time High Record Again – Here’s What We Know

    04/08/2025

    Bitcoin Switzerland? El Salvador to Host First Fully Native Bitcoin Capital Markets

    04/08/2025

    Bitcoin Breaks $119K, but XLM and HBAR Aren’t Impressed by Its Meager Percentage Gain

    04/08/2025

    High-Stakes Consolidation Could Define Q3 Trend

    04/08/2025

    Company Managing $5 Billion Reveals New Price Forecast for Ethereum

    12/11/2025

    Buterin Names Ethereum’s ‘Most Important’ Property

    12/11/2025

    What is Expected for the Ethereum (ETH) Price? Analysis Company Warned Not to Fall Below This Level

    12/11/2025

    Ethereum price forms bullish flag as ETH ETF inflows rise

    12/11/2025

    The Sui Ecosystem’s Top 3 Altcoin Performers

    29/07/2025

    Floki Launches $69000 Guerrilla Marketing Challenge With FlokiUltras3

    28/07/2025

    Crypto Beast denies role in Altcoin (ALT) crash rug pull, blames snipers

    28/07/2025

    $1.6 Billion XRP Surge: Here’s What’s Unfolding

    28/07/2025

    Matthew McConaughey, Michael Caine Team Up With ElevenLabs to Recreate Their Voices Using AI

    12/11/2025

    Current State of the Non-Fungible Token Market

    11/11/2025

    NFT sales plunge 14% to $84m, CryptoPunks sales drop 25%

    08/11/2025

    War on Bugs to launch Master Strategist Joker NFT Collection on Nov. 24

    08/11/2025

    Galaxy Digital Says Helios a ‘Gold Rush,’ Reveals Q3 Revenue Beat and Client Growth

    12/11/2025

    Privacy on trial as Samourai Wallet cofounder lands in jail for writing code

    12/11/2025

    Robinhood CEO Says Once Tokenization Enables 24/7 Markets, Change Is Irreversible

    12/11/2025

    Bitdeer’s New Bitcoin Mining Facility in Ohio Caught on Fire

    12/11/2025
  • Blockchain

    How Session Became a Lifeline for Free Speech

    12/11/2025

    IBM Unveils Quantum Nighthawk Chip Pushing the Limits of Crypto Security

    12/11/2025

    Franklin Templeton Expands Benji Technology Platform to Canton Network

    12/11/2025

    Mantle partners with Bybit and Backed bringing tokenized U.S. equities onchain

    11/11/2025

    Stellar Users Can Now Borrow USDC Using XLM as Collateral via Templar Protocol

    11/11/2025
  • DeFi

    Threshold Network Upgrades tBTC Bridge to Link Institutional Bitcoin with DeFi

    12/11/2025

    Firelight sets November mainnet launch on Flare as ecosystem TVL nears all-time high

    12/11/2025

    new era for DeFi or ‘a sad day for DAOs’?

    12/11/2025

    Aspis Sets Stage for Smart and Transparent AI Trading as California Gives Greenlights to AI Chatbots

    11/11/2025

    DeFi Staking vs. Yield Farming: What’s the Difference?

    11/11/2025
  • Metaverse

    Hollywood.com Reveals Crypto-Powered Prediction Market for Movies, TV and More

    04/11/2025

    Bored Ape creator revives brand with Otherside metaverse debut

    31/10/2025

    Metaverse will revolutionize learning in the same way as Sesame Street

    10/10/2025

    Dogelon Mars Recent Metaverse Updates

    26/09/2025

    ArtGis Finance Partners with MetaXR to Expand its DeFi Offerings in the Metaverse

    17/09/2025
  • Regulation

    Galaxy Digital Says Helios a ‘Gold Rush,’ Reveals Q3 Revenue Beat and Client Growth

    12/11/2025

    U.S. Fed to ‘Embrace Disruption,’ Pitches ‘Skinny’ Master Account Idea

    12/11/2025

    BitcoinOS Raises $10M to Expand Institutional BTCFi Capabilities

    12/11/2025

    Donald Trump Talks About Tariffs on China Again! “We May Not See Each Other” – HOT MOMENTS

    12/11/2025

    Fed Considering ‘Skinny’ Master Accounts for Crypto Banks on ‘Streamlined Timeline’

    12/11/2025
  • Other
    1. Exchanges
    2. ICO
    3. GameFi
    4. Mining
    5. Legal
    6. View All

    Robinhood CEO Says Once Tokenization Enables 24/7 Markets, Change Is Irreversible

    12/11/2025

    Binance Mock Trading Feature Offers $5K Virtual Funds for Beginners and Advanced Users

    12/11/2025

    Top Crypto Exchange Runs out of XRP, and This Happens Next

    12/11/2025

    Bitcoin Exchange OKX TR Announces Delisting of Numerous Altcoin Trading Pairs! Here Are the Details

    12/11/2025

    Why 2025’s Token Boom Looks Both Familiar and Dangerous

    31/10/2025

    ICO for bitcoin yield farming chain Corn screams we’re so back

    22/01/2025

    Why 2025 Will See the Comeback of the ICO

    26/12/2024

    Blockchain Gaming Defies the Slowdown as Web3 Activity Dips in October

    07/11/2025

    Blazpay, PVPFUN Alliance Bridges DeFi and Gaming Through AI

    06/11/2025

    Florida Crypto Confab Unshaken by Bitcoin Volatility

    06/11/2025

    YouTube Says New Policy Doesn’t Ban All Crypto Content, Despite Uproar From Creators

    05/11/2025

    Bitdeer’s New Bitcoin Mining Facility in Ohio Caught on Fire

    12/11/2025

    Bitcoin User Pays Over $105,000 in BTC to Send Just $10

    12/11/2025

    Bitcoin Miner Greenidge Settles New York Permit Dispute, Prompting Stock Spike

    11/11/2025

    Bitdeer shares drop 20% after posting $266M quarterly loss

    11/11/2025

    Privacy on trial as Samourai Wallet cofounder lands in jail for writing code

    12/11/2025

    SBF (Somehow) Had Another Bad Day in Court

    12/11/2025

    Bitcoin community calls for political pressure after a Samourai Wallet dev was handed a five-year prison sentence

    12/11/2025

    Russian Authorities Arrest Suspects Over Crypto Investor Couple’s UAE Murder

    12/11/2025

    Galaxy Digital Says Helios a ‘Gold Rush,’ Reveals Q3 Revenue Beat and Client Growth

    12/11/2025

    Privacy on trial as Samourai Wallet cofounder lands in jail for writing code

    12/11/2025

    Robinhood CEO Says Once Tokenization Enables 24/7 Markets, Change Is Irreversible

    12/11/2025

    Bitdeer’s New Bitcoin Mining Facility in Ohio Caught on Fire

    12/11/2025
  • MarketCap
NBTC News
Home»Bitcoin»The Bitcoin Mempool: Why We Have Filters
Bitcoin

The Bitcoin Mempool: Why We Have Filters

NBTCBy NBTC14/05/2025No Comments6 Mins Read
Share
Facebook Twitter LinkedIn Pinterest Email


In my prior article on the mempool, I laid out a simple conceptual framework to reason about the basic functionality of the mempool, and how it was used by different kinds of users of the Bitcoin network. In this piece I will be looking at the differences between relay policy and consensus rules, and why by default Bitcoin nodes do not relay some types of bitcoin transactions despite being consensus valid.

First and foremost, regardless of the peer-to-peer network refusing to relay certain kinds of consensus valid transactions, if those transactions were to find up in a miner’s mempool and be selected for inclusion in a block, they will be received and downloaded by nodes when they receive that block. Nothing can prevent this short of consensus changes to make those classes of transactions invalid under consensus rules.

There are different types of filters for different reasons. The three general types of filters are those protecting nodes (and therefore the network) from Denial of Service (DoS), those protecting upgrade hooks for future softforks, and those gently discouraging things that Bitcoiners might not like but otherwise present no serious harm to individual nodes or the network.

Denial of Service Vectors

Bitcoin nodes are computer programs running on computers. This means they have all the technical constraints of any programming running on any computer, limitations for storage, memory, processing power, etc. This is the root of why the blocksize limit was introduced and maintained, so as to create a global constraint keeping the verification costs reasonable for normal devices.

This class of filters is designed specifically to ensure that even with the blockspace limit individual transactions that can be created that can consume too much of a node’s resources do not do so.

The simplest example of such a filter is the minimum feerate needed for a transaction to propagate, and the Replace-By-Fee (RBF) rules dictating when a different version of the same transaction can replace the previous one, i.e. only when it pays a higher fee than the last version. Once you sign a transaction with a fee, you are on the hook. Unless you doublespend it, any miner who gets that transaction can mine it and collect that fee. There is no way to escape paying that cost other than spending your UTXO in a different transaction first (which also requires a fee).

The reason for this is DoS protection. Without having to put themselves on the hook for a fee that they can’t escape paying, a user could simply create infinite variations of a single transaction and spam the mempools of every node on the network, eating bandwidth and memory in the process. Nothing would be stopping them from doing this forever. Nodes on the network would outright crash, or bandwidth costs become so exorbitantly high that users couldn’t afford them.

Another example of transactions filtered by relay policy are expensive to validate transactions. It is possible to create transactions that are incredibly expensive to verify. Some blocks can be created that will take a Bitcoin node running on normal consumer hardware over an hour to verify. This is done by creating large custom scripts that are designed to create the maximum amount of signature checks that can be and stuffing a block full of nothing but these transactions.

Such script structures have been constructed before and verification times tested on different types of machines, but the exact structure of those scripts has not been publicly revealed by the developers who did so for obvious reasons. These are transactions that could literally stall the entire network.

A last example of DoS protection would be the dust limit. Transactions creating UTXOs with a satoshi value below the dust limit are not relayed because the fee to spend that UTXO would be higher than the satoshi value of the output. This makes it uneconomical and unlikely that it would ever be spent, meaning that the UTXO set would have to store these outputs forever. This could create a bloating UTXO set that makes block validation more computationally intensive.

Future Softforks

All major upgrades to the Bitcoin protocol have been done with softforks, an upgrade mechanism that allows new script functionality to be added to the protocol in a way that un-upgraded nodes will still accept as valid.

This is possible because Bitcoin script includes “undefined” opcodes, meaning that any use of them automatically is considered valid because no verification rules are currently defined for them. When people upgrade their nodes to enforce the new rules, upgraded nodes will apply the new rules against that opcode, and older ones will simply accept any use of them. As long as miners do not mine transactions violating the new rules before the network of nodes all upgrade, everyone stays on the same blockchain and everything is backwards compatible.

Transactions using these undefined opcodes are filtered by relay policy. This is done in order to preserve the upgradeability of the Bitcoin protocol in the future.

If users were to make UTXOs using such undefined opcodes, say in combination with a defined ones so that they weren’t spendable by anyone, if that undefined opcode were given verification rules in a softfork that UTXO would become unspendable. The structure of the script would not be able to meet the new verification rules applied during the softfork.

Allowing these to propagate and be confirmed could allow UTXOs using undefined opcodes to turn any potential softfork upgrade in the future into a philosophical dilemma of not upgrading or rendering some user’s coins unspendable.

Discouragement

There are some types of transactions that while causing no actual harm to nodes on the network, i.e. crashing nodes, using excessive memory or resources, a large segment of network users find undesirable or contrary to the primary purpose of Bitcoin.

Examples of such transactions would be those making use of large OP_RETURN outputs, or Inscriptions making use of the Witness field, to write arbitrary information to the blockchain. These are discouraged because they are not seen as a primary use case of the Bitcoin network.

Not Everything Is The Same

These different classes of filters in relay policy are very clearly distinctly different things. Not all relay filters exist for the same reason, not all of them involve the same incentives for miners to mine (or not mine) them. Each of them exists for a specific purpose to protect your node, or the blockchain, from different types of things that are either legitimately damaging or just undesirable.

All filters are not the same, and the difference between the things they are filtering is massive. Everything from problematic transactions that could crash the network (which should be fixed at the consensus level), to just discouraging harmless transactions that people find undesirable.

It’s important to realize the difference between these things. For instance, a miner might mine a simply undesirable transaction if a user pays for it, but no rational miner would construct and mine a block full of transactions that would crash the entire network. That would undermine their investment.

This post The Bitcoin Mempool: Why We Have Filters first appeared on Bitcoin Magazine and is written by Shinobi.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
NBTC

Related Posts

Price Breaks All-Time High Record Again – Here’s What We Know

04/08/2025

Bitcoin Switzerland? El Salvador to Host First Fully Native Bitcoin Capital Markets

04/08/2025

Bitcoin Breaks $119K, but XLM and HBAR Aren’t Impressed by Its Meager Percentage Gain

04/08/2025

High-Stakes Consolidation Could Define Q3 Trend

04/08/2025
Add A Comment

Comments are closed.

Top Posts
Get Informed

Subscribe to Updates

Get the latest news from NBTC regarding crypto, blockchains and web3 related topics.

Your source for the serious news. This website is crafted specifically to for crazy and hot cryptonews. Visit our main page for more tons of news.

We're social. Connect with us:

Facebook X (Twitter) LinkedIn RSS
Top Insights

Galaxy Digital Says Helios a ‘Gold Rush,’ Reveals Q3 Revenue Beat and Client Growth

12/11/2025

Privacy on trial as Samourai Wallet cofounder lands in jail for writing code

12/11/2025

Robinhood CEO Says Once Tokenization Enables 24/7 Markets, Change Is Irreversible

12/11/2025
Get Informed

Subscribe to Updates

Get the latest news from NBTC regarding crypto, blockchains and web3 related topics.

Type above and press Enter to search. Press Esc to cancel.