Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: TedMan123 on April 30, 2015, 09:33:16 PM



Title: Restoring Wallet on iMac Bitcoin, litecoin, LeoCoin
Post by: TedMan123 on April 30, 2015, 09:33:16 PM
Hey guys

My wallet got corrupted, With this error message coming up "Error loading blkindex.dat", Luckily i saved a backup file before this happened, Now im having trouble restoring the wallet, Im using a 2014 iMac, I have the .Dat file saved but im unsure where to put this in the new wallet.

If anyone can help it would be hugely appreciated

Cheers
Tedman123


Title: Re: Restoring Wallet on iMac Bitcoin, litecoin, LeoCoin
Post by: dive on April 30, 2015, 09:52:34 PM
Hey guys

My wallet got corrupted, With this error message coming up "Error loading blkindex.dat", Luckily i saved a backup file before this happened, Now im having trouble restoring the wallet, Im using a 2014 iMac, I have the .Dat file saved but im unsure where to put this in the new wallet.

If anyone can help it would be hugely appreciated

Cheers
Tedman123

You wallet is in the wallet.dat file.
blkindex.dat is related to the blockchain and you can download that again.

To restore your wallet in a new install, copy the wallet.dat file there.


Title: Re: Restoring Wallet on iMac Bitcoin, litecoin, LeoCoin
Post by: unholycactus on April 30, 2015, 10:09:09 PM
The problem is caused by your wallet software, not the wallet itself.

It's safe to do whatever with blkindex.dat.


Title: Re: Restoring Wallet on iMac Bitcoin, litecoin, LeoCoin
Post by: achow101_alt on May 01, 2015, 12:25:57 AM
blkindex.dat is part of the blockchain database for whatever wallet you are using. You will have to rescan and reindex the entire blockchain which can take a few hours.


Title: Re: Restoring Wallet on iMac Bitcoin, litecoin, LeoCoin
Post by: jonnybravo0311 on May 01, 2015, 02:04:23 AM
The wallet.dat file goes into the coin directory.  If you're using the standard location then for Bitcoin it is: ~/Library/Application Support/Bitcoin directory.


Title: Re: Restoring Wallet on iMac Bitcoin, litecoin, LeoCoin
Post by: Amph on May 01, 2015, 06:22:56 AM
try the repair fuction, otherwise you need to re-download the whole blockchain, you for the next time, save the whole folder, this will make things easy if it will happen again