Bitcoin Forum
May 30, 2024, 08:34:16 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Will CPFP work in unconfirmed input/output chain  (Read 161 times)
TruBitMil (OP)
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
December 13, 2017, 11:05:03 AM
 #1

And how would it affect the fees required?
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
December 13, 2017, 01:23:18 PM
 #2

If you are talking about a whole chain of transactions which is unconfirmed and linked (ie. the inputs are the outputs of the transactions in the chain), then yes. CPFP will work for transactions which are linked only. Transactions that diverge from that chain would not be included.

For CPFP to work, miners must first be incentivised to mine it for you and the transaction chain takes space. The longer your chain, the more fees you have to pay for your child transaction.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
Thirdspace
Hero Member
*****
Offline Offline

Activity: 1232
Merit: 738


Mixing reinvented for your privacy | chipmixer.com


View Profile
December 13, 2017, 02:04:31 PM
 #3

The longer your chain, the more fees you have to pay for your child transaction.
exactly as he said. just think of the whole chain as one big transaction.
add up their tx sizes and calculate the total required fee based minimum fee minus already paid fee
lets say: txA 500 bytes fee 5000 sats (10s/B) , txB 500 bytes fee 10000 sats (20s/B) output from txA used as input in txB,
so you want to do CPFP using output from txB as input in txC, with your txC 250 bytes
assuming current minimum fee is 300s/B then the fee would be:
( (500+500+250 B) * 300 ) - 15000 = 360000 sats (0.0036 BTC)
please cmiiw...  Wink

TruBitMil (OP)
Newbie
*
Offline Offline

Activity: 30
Merit: 0


View Profile
December 13, 2017, 02:56:04 PM
 #4

Thank you very much for the response guys - that was exactly what I was after
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!