Author

Topic: Why is it called child pays for parent ? (Read 156 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
January 04, 2018, 08:59:46 PM
#3
I'm just wondering exactly why it was called this? Surely it could of been called "adjust fee" or something simpler?
No, it could not have.

Child Pays For Parent is called such because you are creating a new transaction which spends from the transaction that you want to change the fee of, hence it is a child transaction of the parent unconfirmed transaction. This child transaction contains a high enough transaction fee to pay for the parent. Hence Child Pays For Parent.

The other "adjust fee" method is called Replace By Fee. With Replace By Fee, you are creating a conflicting transaction that pays a higher transaction fee and replaces the original lower fee one.

So because there are multiple methods to increasing the transaction fee, it can't just be called "adjust fee".
HCP
legendary
Activity: 2086
Merit: 4361
January 04, 2018, 06:05:52 PM
#2
Because there are multiple ways to "adjust fee"... and you're not simply adjusting the fee when you do a "Child Pays For Parent"... CPFP actually creates a completely NEW transaction that helps to push the original transaction through.
sr. member
Activity: 334
Merit: 275
January 04, 2018, 05:08:45 PM
#1
I'm just wondering exactly why it was called this? Surely it could of been called "adjust fee" or something simpler?
Jump to: