Bitcoin Forum
November 08, 2024, 04:12:42 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: What happens when a payment is marked unconfirmed, do you get $ back?  (Read 1154 times)
compcentral (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
June 22, 2011, 02:18:36 PM
 #1

Just as asked in the subject...  What happens in this situation?
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
June 22, 2011, 02:27:12 PM
 #2

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.

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
compcentral (OP)
Member
**
Offline Offline

Activity: 61
Merit: 10


View Profile
June 22, 2011, 02:29:16 PM
 #3

... 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?
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
June 22, 2011, 02:33:42 PM
 #4

... 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.

I am an employee of Ripple. Follow me on Twitter @JoelKatz
1Joe1Katzci1rFcsr9HH7SLuHVnDy2aihZ BM-NBM3FRExVJSJJamV9ccgyWvQfratUHgN
kerogre256
Full Member
***
Offline Offline

Activity: 161
Merit: 100


View Profile
June 22, 2011, 02:36:43 PM
 #5

... 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
dayfall
Sr. Member
****
Offline Offline

Activity: 312
Merit: 250



View Profile
June 22, 2011, 03:07:31 PM
 #6

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.
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!