Bitcoin Forum
December 08, 2016, 07:55:47 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1] 2 3 »  All
  Print  
Author Topic: Lost all my Bitcoins?  (Read 6790 times)
ksd5
Jr. Member
*
Offline Offline

Activity: 48


View Profile
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.)
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481183747
Hero Member
*
Offline Offline

Posts: 1481183747

View Profile Personal Message (Offline)

Ignore
1481183747
Reply with quote  #2

1481183747
Report to moderator
1481183747
Hero Member
*
Offline Offline

Posts: 1481183747

View Profile Personal Message (Offline)

Ignore
1481183747
Reply with quote  #2

1481183747
Report to moderator
SmokeTooMuch
Legendary
*
Offline Offline

Activity: 873


View Profile
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/btc
You like what I'm doing? Why don't you send me a coin: 17Pj8jpUgY6qTaKgiopL5U48zxU4rTrkuB
theymos
Administrator
Legendary
*
Offline Offline

Activity: 2492


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.

1NXYoJ5xU91Jp83XfVMHwwTUyZFK64BoAD
ksd5
Jr. Member
*
Offline Offline

Activity: 48


View Profile
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: 873


View Profile
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/btc
You like what I'm doing? Why don't you send me a coin: 17Pj8jpUgY6qTaKgiopL5U48zxU4rTrkuB
jimbobway
Legendary
*
Offline Offline

Activity: 1380



View Profile
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???

░░░░░░░░░██████░░░░░░░░░░░░▄▄▄
░░███░░██████░░░░░▄▄▄▄▄░░██
░░███░░█████████████
░░░░░░░░██████▀▀██████████
░░░░░░░░██████░░░░░██████████
░░░░░░▄▄▄▄▄▄░░░▄▄▄░░░░███████
░░░░░██████░░░███░░░░███████
░░░░░██████░░░███
░░░░░███████▄▄▄▄▄████████
░░░░░████████████████████
░░▄▄▄▄▄░░█████░░░░█████████
█████░░█████░░░░█████████
█████░░░░░░░░░░░░█████████
█████░░░░░░░░░░░░░█████████

START GETTING PAID FOR YOUR ATTENTION!
███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
JUSTICE IN THE WORLD OF ONLINE ADVERTISING!

BUY MASS COIN 】【 ICO PROSPECTUS
VISIT OUR WEBSITE
TWITTER 】【 FACEBOOK 】【 TELEGRAM

ksd5
Jr. Member
*
Offline Offline

Activity: 48


View Profile
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
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.
Gleb Gamow
Legendary
*
Offline Offline

Activity: 882


I Love the wew!


View Profile
October 06, 2015, 03:20:49 AM
 #9

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.

Here's the new link: http://www.census.gov/popclock/

In over five years, the population now exceeds 7B and bitcoins are worth way more than fractions of a cents, in fact, there's virtually a parity with the two abstracts when considering its market cap.

Hashing24 or: How I Quit Worrying and Learnt to Love the wew (pronounced: woo; rhymes with dew)
fuddudle
Full Member
***
Offline Offline

Activity: 149



View Profile
October 06, 2015, 03:27:04 AM
 #10

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.

Of course, the percentage of the world population who would actually want bitcoins will probably stay at 0.001 or less.

EthanB
Sr. Member
****
Offline Offline

Activity: 252


View Profile
October 06, 2015, 03:34:05 AM
 #11

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.

Of course, the percentage of the world population who would actually want bitcoins will probably stay at 0.001 or less.

The percentage of people who own USD is close to 5%, so consider that Wink

Lazada
Full Member
***
Offline Offline

Activity: 238


mine everytime


View Profile WWW
October 06, 2015, 05:30:17 AM
 #12

you have your wallet destroying data. You really lost all his bitcoin  Shocked

Nobitcoin
Hero Member
*****
Offline Offline

Activity: 896

Nothing good can ever come staying with normal peo


View Profile
October 06, 2015, 05:44:03 AM
 #13

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.

When Bitcoin gets cracked it will mostly likely to be worth exactly $ 0.00


        •  FreeStaking.com
        •  WeMine Multipool
        •  CUBE Staking Pool

        •  BlackJack
        •  CUBE Faucet
        •  Block Explorer

        •  RAWX.io
        •  Bleutrade
        •  Cryptopia

        •  Staking Web Wallet       
        •  Link 2       
        •  Link 3       
TKeenan
Hero Member
*****
Offline Offline

Activity: 716



View Profile
October 06, 2015, 07:06:57 AM
 #14

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.

When Bitcoin gets cracked it will mostly likely to be worth exactly $ 0.00
you obviously don't understand what 'cracked' is.  Not going to happen.
HCLivess
Legendary
*
Offline Offline

Activity: 1022


If it can be thought, it can be coded


View Profile WWW
October 06, 2015, 07:11:06 AM
 #15

The most retarded aspect of bitcoin, regardless of how safe it is. I am always using just one address and sending everything even with altcoins there. The new multiaddress GUI is so fucking confusing.

100% new code, 0% premine, 0% ICO, 0% dev rewards, Python, easy integration https://bitcointalk.org/index.php?topic=1525078
franky1
Legendary
*
Offline Offline

Activity: 1526



View Profile
October 06, 2015, 07:46:54 AM
 #16

lesson to all.. learn your privkeys!!!

save your privkeys as they are the important part. dont just rely on having a wallet.dat file in a second folder.

not only can u mess things up by not copying the file correctly. you can also get viruses, house fires, burglars stealing your PC. a disgruntled employee/spouse putting a hammer to your device.

so learn how to get your privkeys and back them up in a new location..

the reason why the OP lost his coins is because when he sent the 0.1btc out it also takes the 2.0btc with it and returns the 2.0 to a change address.. this change address is saved to the active wallet.dat.
the problem is that if he had a wallet.dat backed up from hours/days before the tx was sent. then the backup wont contain the privkey/pubkey of the change address..

Do not take any information given on this forum on face value. Please do your own due diligence and respect what is written here as both opinion and information gleaned from experience. If you wish to seek legal FACTUAL advice, then seek the guidance of a LEGAL specialist
HCLivess
Legendary
*
Offline Offline

Activity: 1022


If it can be thought, it can be coded


View Profile WWW
October 06, 2015, 07:53:26 AM
 #17

lesson to all.. learn your privkeys!!!

save your privkeys as they are the important part. dont just rely on having a wallet.dat file in a second folder.

not only can u mess things up by not copying the file correctly. you can also get viruses, house fires, burglars stealing your PC. a disgruntled employee/spouse putting a hammer to your device.

so learn how to get your privkeys and back them up in a new location..

the reason why the OP lost his coins is because when he sent the 0.1btc out it also takes the 2.0btc with it and returns the 2.0 to a change address.. this change address is saved to the active wallet.dat.
the problem is that if he had a wallet.dat backed up from hours/days before the tx was sent. then the backup wont contain the privkey/pubkey of the change address..

No. Lesson to BTC DEVS - learn basics of end user experience. Drop your Microsoftian attitude, please. It's 2015.

100% new code, 0% premine, 0% ICO, 0% dev rewards, Python, easy integration https://bitcointalk.org/index.php?topic=1525078
stingers
Hero Member
*****
Offline Offline

Activity: 672


View Profile
October 06, 2015, 08:03:47 AM
 #18

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.)
Do you still have your backup intact? Why on earth did you want to try double spend with 1+BTC?
franky1
Legendary
*
Offline Offline

Activity: 1526



View Profile
October 06, 2015, 08:04:44 AM
 #19

lesson to all.. learn your privkeys!!!

save your privkeys as they are the important part. dont just rely on having a wallet.dat file in a second folder.

not only can u mess things up by not copying the file correctly. you can also get viruses, house fires, burglars stealing your PC. a disgruntled employee/spouse putting a hammer to your device.

so learn how to get your privkeys and back them up in a new location..

the reason why the OP lost his coins is because when he sent the 0.1btc out it also takes the 2.0btc with it and returns the 2.0 to a change address.. this change address is saved to the active wallet.dat.
the problem is that if he had a wallet.dat backed up from hours/days before the tx was sent. then the backup wont contain the privkey/pubkey of the change address..

No. Lesson to BTC DEVS - learn basics of end user experience. Drop your Microsoftian attitude, please. It's 2015.

no one should be backing up their wallet.dats as the change addresses mean you have to constantly update. i would say that bitcoincore needs an easy way to File->save the privkeys as having to explore your program data folders is just silly

Do not take any information given on this forum on face value. Please do your own due diligence and respect what is written here as both opinion and information gleaned from experience. If you wish to seek legal FACTUAL advice, then seek the guidance of a LEGAL specialist
amaclin
Legendary
*
Offline Offline

Activity: 1036


View Profile WWW
October 06, 2015, 08:04:59 AM
 #20

No. Lesson to BTC DEVS - learn basics of end user experience. Drop your Microsoftian attitude, please. It's 2015.
Why should btc devs care about user's funds?
Pages: [1] 2 3 »  All
  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!