Fee Delta (prioritisetransaction)
A fee delta is a manual fee adjustment applied to a mempool transaction to raise or lower its mining priority.
Key Takeaways
- A fee delta is a virtual fee adjustment applied via Bitcoin Core's
prioritisetransactionRPC that changes how a transaction ranks in block template construction without modifying the transaction itself. - Fee deltas persist across node restarts: they are saved to
mempool.datand can even be set for transactions that have not yet appeared in the mempool. - Mining pools and transaction acceleration services use fee deltas to honor out-of-band fee payments, letting users boost stuck transactions without creating a new on-chain transaction.
What Is a Fee Delta?
A fee delta is a satoshi-denominated value that a node operator manually adds to (or subtracts from) a transaction's effective fee for the purpose of block selection. It is set through Bitcoin Core's prioritisetransaction RPC, which has been available since the early days of the software. The delta changes only the local node's view of the transaction's priority: the actual on-chain transaction remains untouched, and no additional fee is paid to or from anyone on the network.
In the context of the Bitcoin fee market, miners compete to include the highest-fee transactions in their blocks. The fee delta mechanism gives a mining pool operator fine-grained control over which transactions appear in their candidate blocks, regardless of the fees those transactions actually carry.
How It Works
The prioritisetransaction RPC accepts three arguments:
- The transaction ID (
txid) of the target transaction - A deprecated dummy parameter (must be
0ornull, kept for backward compatibility) - The
fee_deltavalue in satoshis: positive to raise priority, negative to lower it
When Bitcoin Core builds a block template (via getblocktemplate or the Stratum protocol), it evaluates each transaction's "modified fee": the actual fee plus any accumulated fee delta. Transactions with a higher modified fee per virtual byte are selected first. The delta is an absolute satoshi amount, not a fee rate, so its impact on effective feerate depends on the transaction's size.
RPC Usage
The command is straightforward to invoke from the Bitcoin Core CLI:
# Boost a transaction's priority by 10,000 satoshis
bitcoin-cli prioritisetransaction \
"a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" \
0 \
10000
# Lower a transaction's priority by 5,000 satoshis
bitcoin-cli prioritisetransaction \
"a1075db55d416d3ca199f55b6084e2115b9345e16c5cf302fc80e9d5fbf5d48d" \
0 \
-5000Multiple calls for the same txid are additive. If you apply +10,000 and then +5,000, the resulting delta is +15,000 satoshis. To undo a delta, apply the inverse amount so the total returns to zero.
Persistence and Lifecycle
Fee deltas are stored in an internal map called mapDeltas, which is serialized to mempool.dat when the node shuts down and reloaded on startup. This means prioritizations survive restarts. A delta can also be set for a transaction that has not yet entered the mempool: when the transaction eventually arrives, the node applies the pre-set delta immediately.
Deltas are automatically removed when the target transaction is confirmed in a block or displaced by a conflicting transaction. Since Bitcoin Core 26.0, setting a delta back to zero also removes the entry from the internal map rather than leaving a zero-value record behind.
Inspecting Active Deltas
Bitcoin Core 26.0 introduced the getprioritisedtransactions RPC, which returns a list of all active fee deltas on the node. Each entry includes the txid, the delta value in satoshis, and whether the transaction is currently in the mempool:
bitcoin-cli getprioritisedtransactions
{
"a1075db...5d48d": {
"fee_delta": 10000,
"in_mempool": true,
"modified_fee": 14520
}
}Interaction with Cluster Mempool
Bitcoin Core 31.0 replaced the legacy ancestor-and-descendant-based transaction ordering with cluster mempool, which groups connected transactions into clusters and mines them in optimal chunks. Under this model, a fee delta still modifies the transaction's effective fee, but the resulting priority depends on the feerate of the chunk the transaction belongs to, not just the individual transaction's ancestor feerate. This can make the effective impact of a delta less predictable when the transaction is part of a large cluster with complex dependency relationships.
Use Cases
Out-of-Band Fee Payments
The most common use of fee deltas is honoring out-of-band fee payments. A user contacts a mining pool directly and pays (often via Lightning or fiat) to have a specific transaction included in the next block. The pool operator calls prioritisetransaction on their node to boost the transaction's effective fee to the desired level. Services like the Mempool Accelerator coordinate this process across multiple partner pools.
This is especially useful when in-band fee bumping techniques like replace-by-fee or child-pays-for-parent are impractical: for example, multisig transactions that require re-gathering signers, or protocol transactions like Lightning channel closes where the transaction format is fixed.
Miner Self-Prioritization
Mining pools routinely use fee deltas to prioritize their own operational transactions. Pool payout transactions, consolidation sweeps, or channel management operations can be given high priority without paying market-rate fees. Because the delta only affects the local node's block template, these transactions still pay whatever fee they carry to the rest of the network, but the pool's own template builder treats them as premium.
Transaction Deprioritization
Negative fee deltas can lower a transaction's priority. A pool operator might deprioritize spam or pinning transactions that are clogging their mempool. While this does not remove the transaction from the mempool, it pushes it below the selection threshold for block templates, effectively deferring its confirmation.
Pre-Arrival Prioritization
Because deltas can be set for transactions not yet in the mempool, an acceleration service can accept a boost request and apply the delta immediately. When the transaction propagates to the pool's node, the delta takes effect without requiring a second RPC call. This simplifies the operational workflow for high-volume acceleration services.
Risks and Considerations
Centralization Concerns
Widespread use of out-of-band fees creates a parallel fee market that operates outside the transparent, on-chain auction. This can undermine Bitcoin's censorship resistance properties: if a significant share of block space is sold through private channels, users without access to those channels face higher effective fees and longer confirmation times. It also concentrates power in large pools that can offer acceleration services, further contributing to mining centralization.
No Network-Wide Effect
A fee delta only changes the local node's block template. If the node does not find the next block, the prioritization has no effect. For a user paying for acceleration, this means the service only works if one of the partner pools mines a block while the transaction is still unconfirmed. With hashrate distributed across many pools, this can take longer than expected.
Accumulation Risk
Multiple prioritisetransaction calls for the same txid are additive. An operator who accidentally calls the RPC twice will apply double the intended delta. The getprioritisedtransactions RPC mitigates this by making active deltas auditable, but careful scripting is still required in automated systems.
Fee Estimation Distortion
Transactions confirmed through out-of-band fee deltas appear on-chain with fees lower than what the fee estimation algorithm would expect for their confirmation speed. Over time, if a large volume of transactions is accelerated this way, fee estimators across the network may underestimate the true cost of timely confirmation, since they cannot see the out-of-band premium.
Fee Delta vs. In-Band Fee Bumping
| Property | Fee Delta | RBF / CPFP |
|---|---|---|
| Requires new transaction | No | Yes |
| Visible on-chain | No | Yes |
| Works network-wide | No (local node only) | Yes |
| Requires mining capability | Yes (or pool partnership) | No |
| Persists across restarts | Yes (via mempool.dat) | Yes (transaction in mempool) |
| Requires re-signing | No | Yes (for RBF) |
Why It Matters
Fee deltas sit at the intersection of Bitcoin's fee market and the practical realities of mining operations. They enable legitimate use cases like transaction acceleration and pool management, but they also introduce opacity into the fee market. For users of Layer 2 protocols like Spark and the Lightning Network, understanding fee deltas matters because time-sensitive on-chain transactions (channel opens, closes, and unilateral exits) may benefit from acceleration when the mempool is congested. Knowing that this mechanism exists, and that it only works with cooperating miners, helps users make informed decisions about when in-band fee bumping is sufficient and when out-of-band acceleration is worth pursuing.
This glossary entry is for informational purposes only and does not constitute financial or investment advice. Always do your own research before using any protocol or technology.