CPFP and package economics
Terms used in this lesson
- CPFP
- Child Pays for Parent: a high-fee child transaction raises the combined fee rate of an unconfirmed package.
- Proof-of-work target
- The maximum header-hash value accepted for a block; lowering it makes valid hashes harder to find.
A child can pay enough fee for miners to include a low-fee parent when the package feerate is attractive.
Loading lesson visuals...
Learn the idea
Child Pays for Parent, or CPFP, is a fee-bumping strategy for an unconfirmed transaction you cannot or do not want to replace. You spend one of its outputs in a new child transaction and give the child a high enough fee that mining both transactions is attractive as a package.
The parent is stuck
The parent pays a low feerate and remains unconfirmed. The child cannot confirm without it because the child spends an output the parent creates.
Inspect every idea above to open it.
It cannot. The child depends on the parent output, so the parent must appear earlier in the chain and in the block.
The questions unlock after every required learning activity
Inspect every guided idea, open the worked example, rebuild its mechanism, and complete the deterministic lesson tool. Your progress is saved automatically.