Author

Topic: Spent and uncomfirmed transaction. (Read 170 times)

legendary
Activity: 2730
Merit: 7065
May 15, 2020, 06:20:40 AM
#9
Which means ones the first transactions is comfirmed others will follow suit?
Not necessarily. This will depend on the fees as well. The mempool is currently full around the clock. If those transactions were not broadcast with big enough fees, expect waiting times for days. Additionally, even if your first transaction gets confirmed, it doesn't mean your 2nd one will be confirmed as well.
The reason is again the used mining fees. If the fees for the 2nd transaction are much lower than for the 1st expect additional days of waiting considering the current state of things. 
But usually the mempool tends to empty a bit during weekends.   
legendary
Activity: 3472
Merit: 10611
May 15, 2020, 02:03:40 AM
#8
What should C do since he is now forced to pay a higher fees ?

C is only "forced" to pay a higher fee if they want to have their transaction confirmed fast, otherwise they can wait until it is confirmed. and in real world scenarios the trade between the two party pauses until the transaction is confirmed and the "sender" should pay appropriate fees otherwise the trade (or whatever the relationship between the two parties is) can be nullified.
to answer your question, @TryNinja already said what C could do. it is called CPFP which in other words means C pays a high transaction fee that not only pays a high fee for this 3rd tx but also covers the additional required fee by the previous 2 transactions. (txAtoB.Size + txBtoC.Size + TxCtoC.size * high_priority_fee_per_byte)
hero member
Activity: 2702
Merit: 716
Nothing lasts forever
May 15, 2020, 01:06:52 AM
#7
Which means ones the first transactions is comfirmed others will follow suit?
Thanks for the feedback
Let's imagine there are 2 transactions.

Transaction 1:
- Sending 1 BTC from X to Y.

Transaction 2:
- Sending 1 BTC (received from X in transaction 1) from Y to Z.

For transaction 2 to be confirmed, transaction 1 must be confirmed (2 depends on 1, since the coins came from there). When it does get confirmed, the latter will be able to confirm as well.

Just to make it clearer: If you were in a hurry, you could make a third transaction from Z with a higher fee (if you are the one receiving) to make all of them get confirmed in chain. This is called CPFP (Child Pay For Parents). When the latter transaction has a sufficiently high fee, the miners will get all the previous ones (X -> Y -> Z -> P) confirmed "in bundle" to grab the higher fee on the last transaction. This happens because the miner has to confirm all the previous ones to make P confirm.
Reading this post made me think of a real life situation. What to do is something like the below scenario occurs.

Assume that person A has sent some bitcoins to person B but fees is so low that the transaction is unconfirmed.
B then sends some bitcoins to person C. Still both the transactions will be unconfirmed since the first one is yet to be confirmed.
Person C is now worried since those transactions are unconfirmed. Person B now tells C that if he wants to get the transaction confirmed then he will have to pay a much higher fees to compensate for the before transactions.

What should C do since he is now forced to pay a higher fees ?


Sorry if the scenario is invalid. Just trying to get a clear understanding on unconfirmed transactions.
legendary
Activity: 2758
Merit: 6830
May 14, 2020, 07:08:06 PM
#6
Which means ones the first transactions is comfirmed others will follow suit?
Thanks for the feedback
Let's imagine there are 2 transactions.

Transaction 1:
- Sending 1 BTC from X to Y.

Transaction 2:
- Sending 1 BTC (received from X in transaction 1) from Y to Z.

For transaction 2 to be confirmed, transaction 1 must be confirmed (2 depends on 1, since the coins came from there). When it does get confirmed, the latter will be able to confirm as well.

Just to make it clearer: If you were in a hurry, you could make a third transaction from Z with a higher fee (if you are the one receiving) to make all of them get confirmed in chain. This is called CPFP (Child Pay For Parents). When the latter transaction has a sufficiently high fee, the miners will get all the previous ones (X -> Y -> Z -> P) confirmed "in bundle" to grab the higher fee on the last transaction. This happens because the miner has to confirm all the previous ones to make P confirm.
member
Activity: 96
Merit: 10
May 14, 2020, 05:00:48 PM
#5
Yes you understood me also Can the person i sent the coins to be able to spend it.
Since the transactions is not yet comfirmed from both ends.

Then there will be three unconfirmed transactions.
As long as both of previous transactions are not confirmed, that transaction won't be confirmed.

Which means ones the first transactions is comfirmed others will follow suit?
Thanks for the feedback
legendary
Activity: 2380
Merit: 5213
May 14, 2020, 04:53:07 PM
#4
Yes you understood me also Can the person i sent the coins to be able to spend it.
Since the transactions is not yet comfirmed from both ends.

Then there will be three unconfirmed transactions.
As long as both of previous transactions are not confirmed, that transaction won't be confirmed.
member
Activity: 96
Merit: 10
May 14, 2020, 04:46:02 PM
#3
If I understand you correctly, you received a transaction and spent the fund while the the transaction you received is still unconfirmed.
As long as the first transaction is unconfirmed, your transaction won't be confirmed.

When your received transaction is unconfirmed and you wish to spend the fund and you want your transaction to be confirmed fast, you must pay a high fee, so miners include both of transactions in a singke block. This is called child pay for parent. But since you have already made your transaction, you can no longer do this.

Wait. The network is now very busy.

Yes you understood me also Can the person i sent the coins to be able to spend it.
Since the transactions is not yet comfirmed from both ends.

legendary
Activity: 2380
Merit: 5213
May 14, 2020, 04:39:04 PM
#2
If I understand you correctly, you received a transaction and spent the fund while the the transaction you received is still unconfirmed.
As long as the first transaction is unconfirmed, your transaction won't be confirmed.

When your received transaction is unconfirmed and you wish to spend the fund and you want your transaction to be confirmed fast, you must pay a high fee, so miners include both transactions in a single block. This is called child pay for parent. But since you have already made your transaction, you can no longer do this.

Wait. The network is now very busy.
member
Activity: 96
Merit: 10
May 14, 2020, 04:01:00 PM
#1
Am currently using blockchain wallet
i received some btc which transactions shows 0 comfirmations after 7 hours
and i sent it to another trading wallet.
And Its over  6 hours and both transaction is still on
0 comfirmation.
From the sender 0 comfirmations
Also from me 0 comfirmations.
What should i do.
Jump to: