Bitcoin Forum
May 08, 2024, 03:27:54 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Question About Confirmations and the Bitcoin Client  (Read 1540 times)
Bunghole (OP)
Member
**
Offline Offline

Activity: 64
Merit: 10


View Profile
June 22, 2011, 02:58:48 PM
 #1

So, last night I took an offline wallet, stuck it in the Bitcoin data directory, fired up Bitcoin.exe, sent some coins, and immediately shut down the client.  This morning I realize that the coins never actually went anywhere (confirmed by both the client and Block Explorer).

My question is this: when you send coins using the standard client, how long do you have to wait before it's safe to shut down the client?  Until it shows up in Block Explorer?  Until the client shows the transaction as confirmed?  Both?
Bitcoin mining is now a specialized and very risky industry, just like gold mining. Amateur miners are unlikely to make much money, and may even lose money. Bitcoin is much more than just mining, though!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715138874
Hero Member
*
Offline Offline

Posts: 1715138874

View Profile Personal Message (Offline)

Ignore
1715138874
Reply with quote  #2

1715138874
Report to moderator
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
June 22, 2011, 03:05:07 PM
 #2

So, last night I took an offline wallet, stuck it in the Bitcoin data directory, fired up Bitcoin.exe, sent some coins, and immediately shut down the client.  This morning I realize that the coins never actually went anywhere (confirmed by both the client and Block Explorer).

My question is this: when you send coins using the standard client, how long do you have to wait before it's safe to shut down the client?  Until it shows up in Block Explorer?  Until the client shows the transaction as confirmed?  Both?
It depends how sure you need to be. What probably happened in your case is that the client never actually sent the transaction anywhere or the transaction was forced to be so extremely low priority it never got anywhere (you may have handed it only to peers who refused to pass it on). As soon as a normal priority transaction hits the network, assuming it is not part of an intentionally attempted double-spend, it should be confirmed eventually even if the client does nothing.

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

Activity: 64
Merit: 10


View Profile
June 22, 2011, 03:09:00 PM
 #3

When it shows up in Block Explorer, does that mean it's "for sure"?
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
June 22, 2011, 03:12:49 PM
 #4

When it shows up in Block Explorer, does that mean it's "for sure"?
Technically no, but for practical purposes, almost always yes. If you assume the sender is not doing something nefarious and the transaction is not absurdly low priority, then yes for all practical purposes. If you are the recipient of a transfer of a large number of bitcoins, you may wish to wait for a few more blocks.

All of this confirmation is needed only to protect against double spends. If you're the sender, then you know you're not double spending.

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

Activity: 64
Merit: 10


View Profile
June 22, 2011, 03:14:17 PM
 #5

It's just me, sending from one wallet to another, so there is no counterparty risk or anything like that.
JoelKatz
Legendary
*
Offline Offline

Activity: 1596
Merit: 1012


Democracy is vulnerable to a 51% attack.


View Profile WWW
June 22, 2011, 03:20:14 PM
 #6

It's just me, sending from one wallet to another, so there is no counterparty risk or anything like that.
Then you can be 99.995% sure it will get confirmed eventually. Since it was in a block, it's obviously been broadcast. Even if that block gets invalidated, eventually some miner who is willing to include your transaction will get a block. Since there's no counter-party risk, that's good enough.

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

Activity: 64
Merit: 10


View Profile
June 22, 2011, 03:26:30 PM
 #7

Thanks for your help Joel.
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!