Author

Topic: Help With Child Pay For Parent (Read 471 times)

sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
November 11, 2017, 12:59:26 PM
#8

The 42f8...e7c4 transaction has 2 outputs.

One output is 0.00049616 BTC to 1DAEpodRkJ2YitQYFKnBg5wnV4aYbARamj
The other output is 0.01475077 BTC to 1FHoe14m2FrGmvSuQyta1NKVEBFEQEL1wz

I assume one of those is the payment you were making, and that the other is the change being sent back into your wallet from the 0.01581193 BTC that were used to fund the transaction.

If the 0.00049616 BTC is your payment, then there is plenty of value left in the 0.01475077 BTC change output to do a CPFP.

If the 0.01475077 BTC is your payment, then you could use the 0.00049616 BTC in a CPFP transaction, but you would probably need to add additional funds to the transaction with a second input in order to have enough value to increase the fee significantly.
The 0.01475 BTC is my payment.
How do I use the change to do a CPFP?
Mycelium doesn't give me that option.
Is there a way to do it "manually"?
Maybe sending funds to the change address and double spending the same input?
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
November 11, 2017, 12:24:36 PM
#7
Thank you ranochigo and aleksej996 for replying.
I understand that part now.
legendary
Activity: 3472
Merit: 4801
November 11, 2017, 11:58:34 AM
#6
Thanks for replying.
The 42f8... transaction was me paying out, so I'm the "parent" and can't pay for parent, unless I do a RBF, right?

Trying to do a CPFP on Mycelium for that transaction shows "unable to build transaction"

The 42f8...e7c4 transaction has 2 outputs.

One output is 0.00049616 BTC to 1DAEpodRkJ2YitQYFKnBg5wnV4aYbARamj
The other output is 0.01475077 BTC to 1FHoe14m2FrGmvSuQyta1NKVEBFEQEL1wz

I assume one of those is the payment you were making, and that the other is the change being sent back into your wallet from the 0.01581193 BTC that were used to fund the transaction.

If the 0.00049616 BTC is your payment, then there is plenty of value left in the 0.01475077 BTC change output to do a CPFP.

If the 0.01475077 BTC is your payment, then you could use the 0.00049616 BTC in a CPFP transaction, but you would probably need to add additional funds to the transaction with a second input in order to have enough value to increase the fee significantly.
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
November 11, 2017, 11:36:09 AM
#5
In case it wasn't clear from what ranochigo said...

The payment that you sent with transaction: 42f8...e7c4 on 2017-11-10 did NOT spend ANY of the unconfirmed bitcoins that you received in transaction ad60...f1ee on 2017-11-10.

All of the bitcoins that were used to fund the second transaction (42f8...e7c4) were received in transaction 5e0d80fe11bf43f5eec0819276473dd7de0c5434c0638f48f3e9f9a6fb0a97e6 on 2017-11-09.

So, when you performed the CPFP on ad60...f1ee, you increased the incentive for confirming that transaction, but the second transaction (42f8...e7c4) still has a transaction fee that is lower than necessary for fast confirmation right now, and doesn't have a CPFP transaction boosting the average fee for it.

You could try using the transaction accelerator at viaBTC, or you could perform another CPFP on 42f8...e7c4, or you can just wait and hope that it doesn't take too much longer for that transaction to confirm.
Thanks for replying.
The 42f8... transaction was me paying out, so I'm the "parent" and can't pay for parent, unless I do a RBF, right?

Trying to do a CPFP on Mycelium for that transaction shows "unable to build transaction"
sr. member
Activity: 490
Merit: 389
Do not trust the government
November 11, 2017, 10:26:48 AM
#4
Those two transactions you provided are completely unrelated and share no addresses with each other in inputs nor in outputs.
Any action you made on the first one doesn't affect the second one. The CPFP that you did confirmed the first one and had nothing to do with the second one.
The second one is still out there with a low fee and you can do a CPFP on that address as well if you wish.
legendary
Activity: 3472
Merit: 4801
November 11, 2017, 10:23:08 AM
#3
In case it wasn't clear from what ranochigo said...

The payment that you sent with transaction: 42f8...e7c4 on 2017-11-10 did NOT spend ANY of the unconfirmed bitcoins that you received in transaction ad60...f1ee on 2017-11-10.

All of the bitcoins that were used to fund the second transaction (42f8...e7c4) were received in transaction 5e0d80fe11bf43f5eec0819276473dd7de0c5434c0638f48f3e9f9a6fb0a97e6 on 2017-11-09.

So, when you performed the CPFP on ad60...f1ee, you increased the incentive for confirming that transaction, but the second transaction (42f8...e7c4) still has a transaction fee that is lower than necessary for fast confirmation right now, and doesn't have a CPFP transaction boosting the average fee for it.

You could try using the transaction accelerator at viaBTC, or you could perform another CPFP on 42f8...e7c4, or you can just wait and hope that it doesn't take too much longer for that transaction to confirm.
legendary
Activity: 3038
Merit: 4418
Crypto Swap Exchange
November 11, 2017, 09:44:56 AM
#2
Child pays for parent is supposed to confirm the first receiving transaction so that the second can go through, right?
As the name suggest, CPFP creates a child transaction such that the parent transaction can confirm. Ie. If you're spending input A which is confirmed to create output C, CPFP creates a high fee for output C such that miners would be incentivised to confirm both transaction to claim the high fees. This is done because the inputs has to be confirmed for any transaction to be confirmed and they can both be confirmed at the same block.
Did I do something wrong?
If you're aiming to confirm 0.015BTC transaction then yes.
Should I wait for it to confirm?
What else can you do?
Or did I accidentally double spend?
No.


Basically, for your CPFP transaction, you spent the output from your first transaction so the CPFP is only for your first transaction. Since your CPFP transaction did not include any outputs from your second transaction, your second transaction wasn't CPFP'ed.
sr. member
Activity: 322
Merit: 363
39twH4PSYgDSzU7sLnRoDfthR6gWYrrPoD
November 11, 2017, 09:11:19 AM
#1
Hello.

Yesterday I received a payment of 0.009Btc from blockchain.info wallet
This is the transaction hash ID: ad60ecad4b0722679747dea95d52e5f1715516918029256381d8bca1f88af1ee

Then I waited for 1 hour and sent 0.015BTC to another address with blockchain.info wallet
This is the tx ID:
42f86570f46284c673bafebbae70b6ed6038812bfed1e9f4966da123e1e0e7c4

The first transaction was unconfirmed when I sent the second.
Usually I don't have any problems with doing this because the first transaction gets confirmed then the second transaction gets confirmed also.

This time both transactions were unconfirmed for almost 24 hours.
I tried to accelerate it with ViaBTC and confirmtx, but it still didn't confirm.

I imported the private key to Mycelium wallet and made a CPFP on the first transaction.
This is the transaction ID:
e8859c0a90f3711cfbb33fec1283cf1b16c6ab77c85f5c01a6a6395159d0f2cd

Child pays for parent is supposed to confirm the first receiving transaction so that the second can go through, right?
But now the CPFP transaction and the first transaction have 2 confirmations as at time of writing but the 0.015 payment I made yesterday is still unconfirmed and is not showing up in the recepient address.

Did I do something wrong?

Should I wait for it to confirm?

Or did I accidentally double spend?
Jump to: