Child-Pays-for-Parent (CPFP)

Adding a high-fee spend of an unconfirmed output so miners take the whole package.

Basically

A way to speed up a stuck transaction when you receive it. You spend the incoming, still-unconfirmed coin in a second transaction with a high fee, so miners take both together to get the reward.

Key Takeaways

  • Works for both the recipient and the sender, through the change output, even when the original transaction cannot be re-signed.
  • Miners evaluate the parent and child as a package using their combined ancestor fee rate.
  • Essential for raising the fee on pre-signed transactions such as Lightning force-closes.

When you use it over RBF

Replace-by-fee requires the original sender to re-sign. You cannot rewrite the parent if you are a merchant waiting for an underpaid incoming transfer, or if you are broadcasting a pre-signed Lightning commitment transaction signed weeks ago at a low fee. You instead spend one of its outputs in a child transaction that pays enough fee to cover the weight of both.

Package evaluation

Bitcoin Core's mempool scores transactions together with their unconfirmed ancestors. A low-fee parent paired with a generous child shows a healthy combined sat/vB and gets mined in the same block, parent first and child immediately after.

0

← All 1876 glossary terms