Fee Filter (BIP 133)
A peer message announcing the minimum fee rate a node will relay, which filters spam before it spreads.
Basically
A fee filter lets your Bitcoin node tell other nodes the lowest transaction fee it will accept. Your node then receives fewer notices for transactions it would reject.
Key Takeaways
- The feefilter message (BIP 133) lets a Bitcoin node tell peers the minimum fee rate it accepts. This saves bandwidth by stopping announcements for transactions the receiver would reject.
- The advertised fee rate changes with mempool policy and congestion. When a full mempool starts removing low-fee transactions, nodes raise their feefilter to match.
- Feefilter launched in Bitcoin Core 0.13.0 with protocol version 70013. It cuts needless transaction relay traffic across the network, especially during fee spikes.
What Is a Fee Filter?
A fee filter is a peer-to-peer network message defined in BIP 133. It lets a Bitcoin node tell peers the minimum relay fee it requires, so they do not announce transactions below that threshold that the node would reject.
Before BIP 133, nodes could not know in advance whether a peer would accept a transaction. A node sent inventory (inv) messages for every transaction in its mempool, and peers often rejected those with fees that were too low. Both sides wasted bandwidth and processing resources on useless announcements and rejections.
Alex Morcos of Chaincode Labs authored BIP 133, which was merged into Bitcoin Core in March 2016. It shipped with Bitcoin Core 0.13.0, the same release that introduced compact block relay (BIP 152) and SegWit support.
How It Works
The feefilter process has three stages. A node works out its fee threshold, sends it to connected peers, and uses filters from peers to decide which transaction announcements to send.
Message Format
The feefilter message contains one 8-byte integer. The integer gives the minimum fee rate in satoshis per 1,000 virtual bytes (sat/kvB).
A value of 1,000 sat/kvB equals 1 sat/vB, the traditional default minimum relay fee. Nodes only send or process feefilter messages with peers running protocol version 70013 or higher.
Computing the Fee Threshold
A node sets its feefilter value to the higher of two fee rates. The result is the cutoff it advertises to peers.
Under normal conditions with an uncongested mempool, the feefilter value matches the static minimum relay fee. During high congestion, it rises to the fee rate needed to enter the mempool.
Privacy Protection
An exact mempool minimum fee could reveal information about a node's mempool state and help chain analysis or eclipse attacks. Bitcoin Core uses two countermeasures to limit these leaks.
Filtering Transaction Announcements
A node stores each feefilter value it receives and checks it before sending inv (inventory) messages to that peer. The stored value acts as a gate for outbound transaction announcements.
Interaction with Mempool Congestion
The feefilter mechanism is most useful when the fee market is busy. A surge in demand for block space sets off a cascade of changes.
The feedback loop stops the network wasting bandwidth on transactions that no peer would accept. Without feefilter, every node would still receive announcements for transactions its mempool would reject at once, creating a flood of useless traffic when the network is under the most load.
When congestion subsides, the dynamic minimum fee decays gradually, halving over hours rather than dropping at once. The delay stops the mempool refilling immediately with low-fee transactions, and feefilter values fall as nodes send updated messages to peers.
Nodes Behind on Blocks
Bitcoin Core treats nodes that are still catching up with the chain tip differently. A node more than 100 blocks behind sets a very high feefilter value of approximately 9,170,997 sat/kvB. The value tells peers to stop sending transaction announcements and prioritise block relay, since transaction data is irrelevant until the node is fully synced.
Bandwidth Conservation
The main use case for feefilter is reducing wasted bandwidth. Each unnecessary inv message is 36 bytes, or 68 bytes with wtxid-based relay, and a node connected to dozens of peers can build up significant overhead from announcing transactions that will be rejected. Savings are substantial during fee spikes, when the gap between the lowest-fee transactions in different nodes' mempools can be large.
Compact Block Efficiency
Feefilter indirectly improves compact block relay (BIP 152), which works best when the receiving node already has most of a block's transactions in its mempool. Feefilter keeps mempools more consistent across the network because nodes share similar fee thresholds. Compact block reconstruction is then more likely to succeed without requests for missing transactions, which reduces block propagation latency.
Fee Estimation Input
Lightning implementations like LND poll their connected Bitcoin node for peers' BIP 133 feefilter values to avoid broadcasting transactions with inadequate fee rates. Wallet software can read feefilter data from outbound peers, which are less likely to be attacker-controlled, to get a real-time signal about the network's current fee estimation floor.
Why It Matters
Fee filtering is a small but useful optimisation for Bitcoin's peer-to-peer network. Without it, every period of high transaction demand would create a negative feedback loop: congestion causes mempool evictions, but peers keep flooding the network with announcements for transactions that will be rejected at once, consuming bandwidth that could relay valid transactions and blocks.
The mechanism matters more as the fee market matures. Events like Ordinals inscriptions and Runes token minting have created extended periods of elevated mempool congestion in recent years, and feefilter stops the P2P layer becoming a bottleneck during these events. Layer 2 protocols like Lightning and Spark rely on timely transaction relay for channel operations and on-chain settlements, so they need an efficient relay layer.
Recent Changes
In Bitcoin Core v29.1 (September 2025), Gloria Zhao authored a change that lowered the default -minrelaytxfee from 1,000 sat/kvB (1 sat/vB) to 100 sat/kvB (0.1 sat/vB), because Bitcoin's price had risen several orders of magnitude since the original default was set and made the economic cost of the 1 sat/vB floor disproportionately high. Upgraded nodes now advertise a lower base feefilter, allowing more low-fee transactions to be relayed during low congestion. A deeper analysis of fee market dynamics explores how these policy changes ripple through the network.
Not Enforced by Consensus
The feefilter is a relay policy hint, not a consensus rule, so a receiving node may honour it but does not have to. Malicious or misconfigured peers could ignore feefilter values and keep sending low-fee transaction announcements. Feefilter is an optimisation rather than a security boundary, so the impact is minimal: the receiving node simply rejects the announced transactions as it would have before BIP 133.
Privacy Implications
Feefilter messages still reveal approximate information about a node's mempool state despite the rounding and timing mitigations. A surveillance node connecting to many peers could map mempool conditions across the network by collecting feefilter data. A 2025 study by Daniela Brozzoni scanned approximately 30,000 full nodes and found that most advertised the traditional default of 1 sat/vB, roughly 4% showed the new 0.1 sat/vB default, and about 8% sent no feefilter at all, making them suspected spy nodes.
Whitelisted Peer Bypass
Nodes running with -whitelistforcerelay bypass feefilter for whitelisted peers. The bypass helps miners or services that need to see all transactions regardless of fee rate, such as those using prioritisetransaction, but creates an asymmetry where whitelisted connections consume more bandwidth than standard peers.
Interaction with Package Relay
The feefilter evaluates transactions individually, which can cause problems for packages where a high-fee child pays for a low-fee parent through CPFP. The parent may be filtered out even though the package as a whole meets the fee threshold. Package relay proposals aim to let nodes evaluate transaction groups together, but until they are fully deployed, feefilter can interfere with fee bumping strategies that rely on CPFP.
This glossary entry is for informational purposes only. It is not financial or investment advice, so always do your own research before using any protocol or technology.