Bitcoin Forum

Other => Beginners & Help => Topic started by: compcentral on June 22, 2011, 02:18:36 PM



Title: What happens when a payment is marked unconfirmed, do you get $ back?
Post by: compcentral on June 22, 2011, 02:18:36 PM
Just as asked in the subject...  What happens in this situation?


Title: Re: What happens when a payment is marked unconfirmed, do you get $ back?
Post by: JoelKatz on June 22, 2011, 02:27:12 PM
You don't need to get them back because you never lost them. Until a transaction has been confirmed, it hasn't really happened. Miners just have the right to apply it (and claim any associated transaction fee) until and unless someone confirms a conflicting transaction.


Title: Re: What happens when a payment is marked unconfirmed, do you get $ back?
Post by: compcentral on June 22, 2011, 02:29:16 PM
... how does that work, as soon as you click send, your balance drops.  Does your balance go back up to what it was after an unconfirmed send?


Title: Re: What happens when a payment is marked unconfirmed, do you get $ back?
Post by: JoelKatz on June 22, 2011, 02:33:42 PM
... how does that work, as soon as you click send, your balance drops.  Does your balance go back up to what it was after an unconfirmed send?
The client shows the decreased balance on the assumption the transaction will be confirmed eventually. If a conflicting transaction goes through instead, the client should adjust the balance automatically.

One way you can create this situation is as follows:

1) You have an account with 50 bitcoins. Two clients run with the same wallet.dat.
2) On one, you transfer 40 bitcoins to account A. It shows a balance of 10.
3) At about the same time, on the other, you transfer 45 bitcoins to account B. It shows a balance of 5.
4) One or the other of these transactions will be confirmed, either the first one, the one with the largest transaction fee, or whichever one the miner who makes the next block happens to prefer based on his rules.
5) Both clients will eventually see which transaction got confirmed, the conflicting transaction will be discarded.
6) Both clients now show the correct balance.


Title: Re: What happens when a payment is marked unconfirmed, do you get $ back?
Post by: kerogre256 on June 22, 2011, 02:36:43 PM
... how does that work, as soon as you click send, your balance drops.  Does your balance go back up to what it was after an unconfirmed send?
If you send coin they gone. You can't get them back unless person who get them send coin back to you


Title: Re: What happens when a payment is marked unconfirmed, do you get $ back?
Post by: dayfall on June 22, 2011, 03:07:31 PM
What I had to do was to restore a backup wallet.  It didn't have the transaction and so it reported the correct amount.  However, if you broadcast the transaction then it is very likely that it will eventually get put into a block.