Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Ryland R. Taylor-Almanza on March 21, 2011, 11:41:12 PM



Title: [SOLVED] Help, Can I still get my bitcoin?
Post by: Ryland R. Taylor-Almanza on March 21, 2011, 11:41:12 PM
I just bought 27 BTC from coinpal, and my computer froze while I was downloading the block chain, so I had to restart. When I tried running bitcoin again, I got this:
Code:
EXCEPTION: NSt8ios_base7failureE       
CAutoFile::read : end of file      
bitcoin in AppInit()      
I'm currently re-downloading bitcoin. When I run the newly downloaded one, will I still have the same bitcoin addresses I had before, so I can still receive my bitcoin? Will I have to redownload the whole block chain (I have really slow internet.)? I'm hoping all this data is stored somewhere in my .bitcoin folder.


Title: Re: Help, Can I still get my bitcoin?
Post by: casascius on March 21, 2011, 11:47:19 PM
I just bought 27 BTC from coinpal, and my computer froze while I was downloading the block chain, so I had to restart. When I tried running bitcoin again, I got this:
Code:
EXCEPTION: NSt8ios_base7failureE       
CAutoFile::read : end of file       
bitcoin in AppInit()       
I'm currently re-downloading bitcoin. When I run the newly downloaded one, will I still have the same bitcoin addresses I had before, so I can still receive my bitcoin? Will I have to redownload the whole block chain (I have really slow internet.)? I'm hoping all this data is stored somewhere in my .bitcoin folder.

Save the file called "wallet.dat"

As long as that file is safe, your coins are safe.


Title: Re: Help, Can I still get my bitcoin?
Post by: Ryland R. Taylor-Almanza on March 21, 2011, 11:49:06 PM
I haven't recieved the coins yet, as I was still downloading the block chain. Will the wallet file also have my addresses? Also, redownloading didn't help, I'm still getting the same error message.


Title: Re: Help, Can I still get my bitcoin?
Post by: gohan on March 21, 2011, 11:50:30 PM
Find your "wallet.dat" file and make a backup copy. Make several backup copies even.  :)

Then you can safely delete other files in your .bitcoin folder (though backup just in case). Keep "wallet.dat" there. You don't need to reinstall the client. When you start your bitcoin client, it will redownload the block chain and you will then see your coins.

EDIT: Yes, the wallet file has your addresses. And the transaction is in the block chain, so nothing will be lost.


Title: Re: Help, Can I still get my bitcoin?
Post by: Ryland R. Taylor-Almanza on March 21, 2011, 11:52:17 PM
Ok, thanks. I was hoping I wouldn't have to redownload the block chain though. Stupid slow internet! I'll let you know if that gets it working.

Edit: It worked, thanks a lot!