Two ways to raise the fee rate
Bitcoin miners can choose which valid transactions to confirm. A transaction with a low fee rate may wait while transactions paying more per virtual byte compete for the same block space. Replace-by-fee (RBF) and child-pays-for-parent (CPFP) change the fees available to miners in different ways. RBF offers a conflicting transaction. CPFP offers a fee-paying child that requires the original transaction to confirm first.
RBF replaces an unconfirmed transaction
A replacement spends at least one of the same inputs as the original transaction. A sender who can authorize those inputs usually constructs and signs it, often by reducing change to raise the fee. A successful replacement has a new transaction ID. Check the payment outputs in the replacement before relying on its new ID, because replacement policy can permit changes to outputs as well as fees.
BIP 125 describes the historical opt-in signaling rules. Bitcoin Core 28.0 made full RBF the default, so a missing opt-in signal alone does not prevent replacement on nodes using that policy. A replacement must still satisfy the node’s applicable mempool rules, which can include paying for any transactions it displaces and covering the incremental relay fee.
CPFP spends an output from the parent
A CPFP child spends an unconfirmed output from the original transaction. A recipient may be able to spend their payment output, and a sender may be able to spend their change. The parent and its transaction ID stay the same. A miner can collect the child fee by including its dependencies before it in the block.
Consider a 200 vB parent that pays 400 sat and a 100 vB child that pays 2,600 sat. Their combined fee is 3,000 sat and their combined size is 300 vB, so the package pays 10 sat/vB. The child alone pays 26 sat/vB. Include any other unconfirmed ancestors that would have to be mined with the child when estimating a package’s effective rate.
Check who controls the inputs or outputs
RBF generally fits the case where the sender can sign a replacement and the wallet supports it. CPFP is available to someone who controls a suitable unconfirmed output and can create a child that satisfies wallet and node policy. The signer of the replacement funds its fee, while the party spending the parent output allocates value from the child’s inputs to its fee.
Relay and mining are separate steps. Some nodes can evaluate a low-fee parent together with a child under package policy, and what propagates depends on the peers and transaction structure. A fee bump can make a transaction more attractive to miners, but the mempool can change before the next block and neither method guarantees a confirmation time.
Sources
Prepared with AI assistance. This guide explains protocol behavior for educational use.
This content is for learning and risk education only and does not constitute investment advice.
Editorial policy (Chinese)