Bitcoin Forum
April 23, 2024, 11:15:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CPFP  (Read 145 times)
columbo (OP)
Jr. Member
*
Offline Offline

Activity: 45
Merit: 1


View Profile
December 08, 2017, 07:54:30 AM
 #1

Hello,

I have made 2 payments via bitcoin-cli about 24 hours ago. One had a 120 sat per byte fee, the other one had a 160 sat per byte fee. The problem is that these transactions are not yet confirmed on the blockchain (probably because the 200k+ unconfirmed transactions).
Now, I have 2 addresses with funds (0.1 and 0.2 both with 0 confirmations). bitcoin-cli shows a balance of 0.3 even if both the addresses has 0 confirmations.
Now, what happens if I try to spend these amounts? Can I spend them?
Also, if I set a higher fee (for example 6-800 sat per byte) for a new transaction, will this mean my earlier 2 transactions will also be confirmed faster?

Thanks in advance for your comments!
1713870916
Hero Member
*
Offline Offline

Posts: 1713870916

View Profile Personal Message (Offline)

Ignore
1713870916
Reply with quote  #2

1713870916
Report to moderator
1713870916
Hero Member
*
Offline Offline

Posts: 1713870916

View Profile Personal Message (Offline)

Ignore
1713870916
Reply with quote  #2

1713870916
Report to moderator
1713870916
Hero Member
*
Offline Offline

Posts: 1713870916

View Profile Personal Message (Offline)

Ignore
1713870916
Reply with quote  #2

1713870916
Report to moderator
Whoever mines the block which ends up containing your transaction will get its fee.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713870916
Hero Member
*
Offline Offline

Posts: 1713870916

View Profile Personal Message (Offline)

Ignore
1713870916
Reply with quote  #2

1713870916
Report to moderator
DannyHamilton
Legendary
*
Offline Offline

Activity: 3374
Merit: 4598



View Profile
December 08, 2017, 04:21:47 PM
 #2

Hello,

I have made 2 payments via bitcoin-cli about 24 hours ago. One had a 120 sat per byte fee, the other one had a 160 sat per byte fee. The problem is that these transactions are not yet confirmed on the blockchain (probably because the 200k+ unconfirmed transactions).

More importantly, many of those 200k+ transactions are paying a higher fee per byte than yours are.  If your transactions paid a higher fee, they'd be confirmed in a sooner block.

Now, I have 2 addresses with funds (0.1 and 0.2 both with 0 confirmations). bitcoin-cli shows a balance of 0.3 even if both the addresses has 0 confirmations.
Now, what happens if I try to spend these amounts?

That's a bad idea.  You can try.  The protocol will allow it.

However, your new transaction can NOT confirm until the earlier transactions confirm.  If the earlier transactions become invalid, then the new transaction will also become invalid.  It is generally a bad idea to spend unconfirmed funds unless you are very certain that they will eventually confirm AND you don't mind the fact that confirmations on the new transaction will have to wait until the earlier transactions have at least 1 confirmation.

Can I spend them?

Can you?  Yes.

Should you?  That depends on the specifics of your situation.

Also, if I set a higher fee (for example 6-800 sat per byte) for a new transaction, will this mean my earlier 2 transactions will also be confirmed faster?

It means that miners that have implemented CPFP will add up the fees of the new transaction PLUS all the transactions that it depends on.  Then they will add up the bytes of all those transactions.  If the fees per byte for the entire thing is high enough then they will include your set of transactions in the block they are working on.  If they solve that block, then your transactions will all be confirmed.

So, whether or not they will be confirmed faster will depend on:
  • Total size of your chain of transactions combined
  • Total fees of your chain of transactions combined
  • Number of bytes of pending transactions on the network that pay a higher fee per byte than your combined transactions
  • How many miners and pools have implemented CPFP
  • If any of those CPFP miners or pools solve any blocks any times soon

Creating a CPFP transaction with a high enough fee will certainly increase your chances of your transactions being confirmed sooner, but it won't guarantee it.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!