Bitcoin Forum
July 06, 2015, 05:48:13 PM *
News: ♦♦♦ If you are using any wallet other than Bitcoin Core 0.10.x or 0.9.5, then you should not trust incoming transactions until they have ~30 confirmations. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Lost all my Bitcoins?  (Read 3818 times)
ksd5
Jr. Member
*
Offline Offline

Activity: 48


View Profile

Ignore
July 14, 2010, 10:35:17 PM
 #1

I wanted to test Bitcoin's double-spending protection, so I copied the wallet.dat file to another folder. I had 1.21 BTC as my balance, and I donated 0.01 BTC, and then exited the program. I then moved the copy of the wallet.dat file back to Bitcoin's AppData folder, and started Bitcoin.

When it started, it showed 1.21 BTC as my balance, but a second later, it became 0.00.

Is this there on purpose to punish people who attempt double-spending, or is it a bug?

(All my transactions are present in the window. My balance is at 0.00 though.)
1436204893
Hero Member
*
Offline Offline

Posts: 1436204893

View Profile Personal Message (Offline)

Ignore
1436204893
Reply with quote  #2

1436204893
Report to moderator

Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1436204893
Hero Member
*
Offline Offline

Posts: 1436204893

View Profile Personal Message (Offline)

Ignore
1436204893
Reply with quote  #2

1436204893
Report to moderator
1436204893
Hero Member
*
Offline Offline

Posts: 1436204893

View Profile Personal Message (Offline)

Ignore
1436204893
Reply with quote  #2

1436204893
Report to moderator
1436204893
Hero Member
*
Offline Offline

Posts: 1436204893

View Profile Personal Message (Offline)

Ignore
1436204893
Reply with quote  #2

1436204893
Report to moderator
1436204893
Hero Member
*
Offline Offline

Posts: 1436204893

View Profile Personal Message (Offline)

Ignore
1436204893
Reply with quote  #2

1436204893
Report to moderator
SmokeTooMuch
Legendary
*
Offline Offline

Activity: 812


View Profile

Ignore
July 14, 2010, 10:42:59 PM
 #2

hmm that indeed seems odd.
if you still got the other version of your wallet.dat try to use that.

Date Registered: 2009-12-10 | I'm using GPG, pm me for my public key. | Bitcoin on Reddit: https://www.reddit.com/r/Bitcoin
You like what I'm doing? Why don't you send me a coin: 17Pj8jpUgY6qTaKgiopL5U48zxU4rTrkuB
theymos
Administrator
Legendary
*
Offline Offline

Activity: 1974


View Profile
July 14, 2010, 10:46:51 PM
 #3

The 1.21 BC was in a single "chunk". When you sent 0.01, you made a transaction with one "in" (the "chunk") and two "outs": one sent 0.01 to whoever you sent that to, and the other one sent 1.20 back to you as "change". This second "out" was sent to a brand new address that you just generated. Since your old wallet.dat doesn't have the keys to this new address, you don't see it.

ksd5
Jr. Member
*
Offline Offline

Activity: 48


View Profile

Ignore
July 14, 2010, 11:04:52 PM
 #4

Ah, okay. So I guess that my 1.20 BTC is lost forever, unless I try to recover the file with a data recovery tool.
SmokeTooMuch
Legendary
*
Offline Offline

Activity: 812


View Profile

Ignore
July 14, 2010, 11:05:54 PM
 #5

If you want to do that you should do it as soon as possible because every new write-access could overwrite the sector where that file is still stored.

Date Registered: 2009-12-10 | I'm using GPG, pm me for my public key. | Bitcoin on Reddit: https://www.reddit.com/r/Bitcoin
You like what I'm doing? Why don't you send me a coin: 17Pj8jpUgY6qTaKgiopL5U48zxU4rTrkuB
jimbobway
Legendary
*
Offline Offline

Activity: 1301



View Profile

Ignore
July 14, 2010, 11:49:49 PM
 #6

I wanted to test Bitcoin's double-spending protection, so I copied the wallet.dat file to another folder. I had 1.21 BTC as my balance, and I donated 0.01 BTC, and then exited the program. I then moved the copy of the wallet.dat file back to Bitcoin's AppData folder, and started Bitcoin.

When you copied the copy of wallet.dat back to the Bitcoin AppData folder, did you overwrite the existing wallet.dat?

This is certainly REALLY SCARY since that's how people do backups.  What is the procedure to do backup and restoring backups???
ksd5
Jr. Member
*
Offline Offline

Activity: 48


View Profile

Ignore
July 15, 2010, 12:01:40 AM
 #7

Yeah, I just overwrote it. I'm not gonna bother trying to recover the file. It was only 1.20 BTC and I'm not gonna sweat the small stuff.

The wallet.dat now has transactions that don't reflect the current balance, so I'm just going to delete it.

Luckily, I only had 1.20 BTC to lose, but backing up the wallet should be definitely integrated into the client.

While they're doing that, they should build in a way to "bank" your coins into encrypted files.



Well, I guess the BTCs value just got a tiny bit higher.  Tongue  Grin
mizerydearia
Hero Member
*****
Offline Offline

Activity: 574



View Profile

Ignore
July 15, 2010, 03:45:26 AM
 #8

A tiny bit now, but in a couple years?  Here's a snippet from my IRC bot.
According to http://www.census.gov/main/www/popclock.html the world population is 6,855,970,029. If everyone had the same amount of bitcoins, everyone would have 0.00306302 bitcoins.  If 0.00000001 bitcoins were equivalent to US$0.01, then everyone would have equivalent of US$3,063.02389176 and the value of all bitcoins would be equivalent of US$21,000,000,000,000.00.
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!