pull down to refresh

Understanding CPFP (Child-Pays-For-Parent)

Boring explanation: CPFP is a method to confirm stuck transactions by adding a higher fee to incentivize miners.
How does it actually work? Let’s break it down with visuals 👇

1️⃣ Alice sends 1 Bitcoin to Bob.

2️⃣ She attaches a very low fee, so the transaction gets stuck

3️⃣ Bob creates a child transaction.
He spends Alice’s Bitcoin and adds a high fee to incentivize miners.

4️⃣ Miners confirm both transactions.
They include Alice's and Bob's transactions to collect the high fee.

Follow for more illustrated Bitcoin guides! ⚡
I had no idea this was possible. Bitcoin is quite the wild rabbit hole.
reply
What chains the transactions together? What happens if there is no change returning to the sender? Can they still CPFP?
reply
13 sats \ 0 replies \ @Murch 25 Nov
Transactions are chained together by the second transaction spending an output of the first transaction. Anyone that gets paid by the first transaction can use CPFP, so if there is no change output, the sender cannot use CPFP, but the other recipients can.
reply