Bitcoin Forum
May 14, 2024, 09:56:43 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: 0 Balance when opening my wallet.dat file  (Read 5929 times)
SeansinWiscottle (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
November 09, 2013, 04:37:42 PM
 #1

Earlier this year in May, I was able to purchase my first few BTC. I saved bitcoin-qt version 0.8.1-beta to a USB drive and also saved a copy of my wallet.dat file to another USB drive. Now when trying to view my balance, I synced with the network and see a balance of 0. I know the coins are still there because I viewed the address on blockchain info. I tried opening my wallet.dat file without having qt client running, but when I browse the files to open it with the qt client it doesnt add it to the list of programs to use. I downloaded the 0.8.5-beta version, but that didn't change anything either. Any ideas? Thank you!
Each block is stacked on top of the previous one. Adding another block to the top makes all lower blocks more difficult to remove: there is more "weight" above each block. A transaction in a block 6 blocks deep (6 confirmations) will be very difficult to remove.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715680603
Hero Member
*
Offline Offline

Posts: 1715680603

View Profile Personal Message (Offline)

Ignore
1715680603
Reply with quote  #2

1715680603
Report to moderator
1715680603
Hero Member
*
Offline Offline

Posts: 1715680603

View Profile Personal Message (Offline)

Ignore
1715680603
Reply with quote  #2

1715680603
Report to moderator
gadman2
Legendary
*
Offline Offline

Activity: 977
Merit: 1000



View Profile
November 09, 2013, 05:02:21 PM
 #2

Import the priv key to a different protocol like electrum or something.

michagogo
Member
**
Offline Offline

Activity: 80
Merit: 10


View Profile
November 09, 2013, 08:41:11 PM
 #3

Earlier this year in May, I was able to purchase my first few BTC. I saved bitcoin-qt version 0.8.1-beta to a USB drive and also saved a copy of my wallet.dat file to another USB drive. Now when trying to view my balance, I synced with the network and see a balance of 0. I know the coins are still there because I viewed the address on blockchain info. I tried opening my wallet.dat file without having qt client running, but when I browse the files to open it with the qt client it doesnt add it to the list of programs to use. I downloaded the 0.8.5-beta version, but that didn't change anything either. Any ideas? Thank you!

Sounds to me like you're not caught up on the blockchain.
safeminer
Member
**
Offline Offline

Activity: 110
Merit: 10



View Profile
November 09, 2013, 11:45:29 PM
 #4

you most likely don't have the complete blockchain. Let your wallet software run for a couple of days, they will appear
SeansinWiscottle (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
November 09, 2013, 11:47:38 PM
 #5

I'm synced with the network. The thing is that when I was syncing to the network, the time on my computer kept changing due to a bug with the operating system (both OSX and windows 7 enterprise). Could this be causing my client to not be caught up with the blockchain?
grue
Legendary
*
Offline Offline

Activity: 2058
Merit: 1431



View Profile
November 10, 2013, 02:20:39 AM
 #6

I tried opening my wallet.dat file without having qt client running, but when I browse the files to open it with the qt client it doesnt add it to the list of programs to use.
you can't open bitcoin wallets as a file. you must place it in bitcoin-qt's data directory.

It is pitch black. You are likely to be eaten by a grue.

Adblock for annoying signature ads | Enhanced Merit UI
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
November 10, 2013, 08:19:41 PM
 #7

I tried opening my wallet.dat file without having qt client running, but when I browse the files to open it with the qt client it doesnt add it to the list of programs to use.
you can't open bitcoin wallets as a file. you must place it in bitcoin-qt's data directory.
For the OS-specific file location to "restore" your wallet backup, see:
https://en.bitcoin.it/wiki/Securing_your_wallet

Hint: %appdata%\Bitcoin
If Bitcoin doesn't have a wallet.dat in it's data directory when it starts, it will create a new blank one.
SeansinWiscottle (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
November 11, 2013, 10:31:03 PM
 #8

Ok, thanks I will try that. How do I store the processed blocks on my flash drive so each time I put it in a new computer, the client doesn't have to sync the entire block history?
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
November 11, 2013, 10:39:44 PM
 #9

Ok, thanks I will try that. How do I store the processed blocks on my flash drive so each time I put it in a new computer, the client doesn't have to sync the entire block history?

Instead of copying the wallet.dat file from the bitcoin data directory, copy the entire directory contents except wallet.dat (around 13.5GB now). This can be restored to any computer you wish to run Bitcoin on to avoid the complete re-downloading of the blockchain; only the wallet.dat file contains the personal information about your addresses.

It is not a good idea to use the same wallet.dat on multiple computers, they will go out-of-sync after many transactions or as soon as you start adding labels. A good way to lose money, as eventually one wallet won't have addresses that are in the other.
Rez
Full Member
***
Offline Offline

Activity: 132
Merit: 100



View Profile WWW
November 14, 2013, 12:11:51 AM
 #10

It is not a good idea to use the same wallet.dat on multiple computers, they will go out-of-sync after many transactions or as soon as you start adding labels. A good way to lose money, as eventually one wallet won't have addresses that are in the other.

A very good point, and can't be made enough.

BITCOIN.SL Domain for Sale - ฿5.00 - Bitcoin Only - Escrow OK
SeansinWiscottle (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
November 14, 2013, 06:21:35 AM
Last edit: November 14, 2013, 06:36:39 AM by SeansinWiscottle
 #11

Uh-oh. In that case, I think I may have made a terrible mistake. The following will be my attempt to accurately illustrate my actions since purchasing my first few BTC earlier this year.

After buying about 5 BTC from localbitcoin.com, I borrowed a laptop in order to make my own wallet and store it on a flash drive, since I don't own a computer. The bitcoin-qt client was downloaded to the laptop, synced, and I sent my BTC to that wallet. Then I copied the qt client to my flash drive,  'backed up' the wallet.dat file - saved it in another folder on the same flash drive and named it "CHEESE.dat" (don't ask why). Please note that I didn't know about any info stored inside of %appdata% - or that it even existed (which is stupid of me if you look at my post history). I haven't made any transactions since that time. That laptop I borrowed has since been returned and wiped.

In summary, I have the bitcoin-qt client along with my CHEESE.dat file on a flash drive, and I have synced the qt client on other computers and tried replacing the wallet in %appdata% with my CHEESE.dat file (I renamed it wallet.dat once I moved it into %appdata%) - still 0 BTC. Is there any hope to recover the lost BTC?

Thank you for your help in advance.
P.S. I am planning on buying a laptop in the near future to avoid this problem.
TwinWinNerD
Legendary
*
Offline Offline

Activity: 1680
Merit: 1001


CEO Bitpanda.com


View Profile WWW
November 14, 2013, 10:40:32 AM
 #12

just export all private keys from each of the wallets and use the blockchain.info wallet to import them. You should have your BTC in a second Smiley

BitcoinAddicts
Hero Member
*****
Offline Offline

Activity: 502
Merit: 500


View Profile
November 14, 2013, 12:11:24 PM
 #13

just export all private keys from each of the wallets and use the blockchain.info wallet to import them. You should have your BTC in a second Smiley

Sorry but how do you export the private keys....

     ▄█
   ▄██▌
 ▄████
▀▀▀█████▀
  ▐███▀
  ██▀
  ▀
.
▄▄▄███████▄▄▄
▄▄█████████████████▄▄
▄███████████████████████▄
███████████████████████████
██████████
███████████████████
██████████
█████████████████████
█████████████████████████████
█████████████████████████████
██
███████████████████████████
██
█████████████████████████
███████████████████████
▀▀█████████████████▀▀

▀▀▀███████▀▀▀
▄▄▄███████▄▄▄
▄▄█▀▀███████████▀▀█▄▄
▄████▄▄███████████▄▄████▄
█████
███▀▀▄▄▄▄▄▄▄▀▀████████
█████
██▀▄██████▀████▄▀███████
███████▀▄█████▀ ▐█████▄▀███████
██  ███ ████▀   ▀▀█████ ███  ██
██████▄▀█████  ▄█████▀▄██████
██████▄▀███▌▄██████▀▄██████
██
██████▄▄▀▀▀▀▀▀▀▄▄████████
▀█
███▀▀███████████▀▀████▀
▀▀█▄▄███████████▄▄█▀▀
▀▀▀███████▀▀▀
▄▀▀▀▀▀▀▀▀▀▀█████████
▀▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
█████████████████████

██████████▄▀▀▀▀▀▀▀▀▀

▄▄▄████████████████████▄▄▄
████████████████████████████
██████████████████████████████
███████████████████████████████
███████████████████████████████
███████████████████████████
▀██
█████████▀   ▀███████████▀
▀▀█████▀▀       ▀▀█████▀▀
.
..SPORTS  │  CASINO  │  ESPORTS..
.
DannyHamilton
Legendary
*
Offline Offline

Activity: 3388
Merit: 4653



View Profile
November 15, 2013, 04:32:31 PM
 #14

Uh-oh. In that case, I think I may have made a terrible mistake. The following will be my attempt to accurately illustrate my actions since purchasing my first few BTC earlier this year.

After buying about 5 BTC from localbitcoin.com, I borrowed a laptop in order to make my own wallet and store it on a flash drive, since I don't own a computer. The bitcoin-qt client was downloaded to the laptop, synced, and I sent my BTC to that wallet. Then I copied the qt client to my flash drive,  'backed up' the wallet.dat file - saved it in another folder on the same flash drive and named it "CHEESE.dat" (don't ask why). Please note that I didn't know about any info stored inside of %appdata% - or that it even existed (which is stupid of me if you look at my post history). I haven't made any transactions since that time. That laptop I borrowed has since been returned and wiped.

In summary, I have the bitcoin-qt client along with my CHEESE.dat file on a flash drive, and I have synced the qt client on other computers and tried replacing the wallet in %appdata% with my CHEESE.dat file (I renamed it wallet.dat once I moved it into %appdata%) - still 0 BTC. Is there any hope to recover the lost BTC?

Thank you for your help in advance.
P.S. I am planning on buying a laptop in the near future to avoid this problem.

When you look in the "Receive" section of Bitcoin-Qt, you'll see your addresses there.  Do you see the address that you sent the 5 BTC to?  If not, then you either made an error when you tried to copy wallet.dat into %appdata% or you made an error when you tried to create a backup of wallet.dat to CHEESE.dat.

The naming of the wallet file is specific.  It is likely that it won't work if you accidentally named it "WALLET.DAT", or "Wallet.dat", or "wallet.dat.txt", or any other variation.  Take a look in the %appdata% directory.  Make sure you only have one file in that directory named wallet.dat and that it is all lower case with nothing else in the filename.

If you see the address that you expect in the "Receive" section of Bitcoin-Qt, then it is possible that you need to start up Bitcoin-Qt with the rescan command line parameter.
SeansinWiscottle (OP)
Newbie
*
Offline Offline

Activity: 10
Merit: 0


View Profile
November 28, 2013, 07:01:14 AM
Last edit: November 28, 2013, 09:00:48 AM by SeansinWiscottle
 #15

I don't see any addresses.

Here's exactly how I stored the wallet.dat file on my flash drive:
In the Bitcoin-qt client (at this time I had a balance of bitcoin showing) I clicked ->File ->Backup Wallet. In the window that popped up, I saved the file as "CHEESE.dat" onto my removable disk. Are there any possibilities that the file on the removable disk, doesn't contain the same balance that was seen when had the Bitcoin-qt client open?


EDIT: I got a balance but must have created a new address after I stored the backup wallet because I am missing 3 BTC Sad

Thanks for all the help!
deepceleron
Legendary
*
Offline Offline

Activity: 1512
Merit: 1032



View Profile WWW
November 28, 2013, 09:07:28 AM
Last edit: November 29, 2017, 09:16:35 PM by deepceleron
 #16

If you had a balance showing in your Bitcoin-Qt before you backed up the wallet, that balance should still be showing when you restore the wallet.

A poster above alluded to a potential problem renaming the file - Windows by default hides the full file name from you (the stupidest thing ever). To fix this:

  • In Windows Control Panel, go to Folder Options, the View tab,
  • select 'Show hidden files, folders and drives', uncheck 'Hide extensions for known file types', uncheck 'Hide protected operating system files'.

Then you will see un-altered file names.

You must be 100% sure that Bitcoin is not running when doing anything with the wallet.dat file. The bitcoin data directory on Windows is %appdata%\Bitcoin directory (a shortcut to C:\Users\yourusername\AppData\Roaming\Bitcoin, or whatever your correct Windows path is). This is where the real wallet.dat used by Bitcoin will be located. Create a text file named bitcoin.conf in that directory if you don't have one, and add these lines, to make bitcoin close when you specify and not accidentally run in the tray:

minimizetotray=0
min=0


Close Bitcoin. Bitcoin also may take over a minute to close, be sure it is not running in task manager before doing anything wallet-related.

After all that, rename whatever wallet.dat file you have in the bitcoin data directory to move it out of the way. Then restore your backup, with the correct name, to this directory.

Finally, to ensure that you have a correct balance, when you start Bitcoin-Qt for the first time, run it with the command-line option Bitcoin-Qt -rescan. It will take about 10 minutes before it starts up, as it looks through all blocks to find transactions and your actual balance.

If you do not have a balance at this point, your backup does not have the address, or the bitcoins are spent.
To see if the wallet even controls the address, in Bitcoin-Qt, go to Help->Debug Window, Console Tab, and type dumpprivkey (using your bitcoin address). You will get either the private key if your wallet includes the address, or a red error message if it does not. If you do not have the address, then your backup is bad, perhaps taken before you encrypted the wallet and created another address, or copied while Bitcoin was running.
iamphoenix
Sr. Member
****
Offline Offline

Activity: 244
Merit: 250



View Profile
January 01, 2014, 05:29:06 AM
 #17

trying that -rescan thing with primecoin wallet. hope it works. this has been the most difficult area for me is backing up and cold storage; private keys etc. someone should livestream a bitcoin beginners interm advanced course around the world...


....

fuck... ive tried everything ... how can i just make the wallet redownload the whole block chain from the console what do i type?

Get Daily Free SIGNs before too late. T6ZzzGAkxmSQDmeNUZPBf3pbD2ogiC2DDf

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