After power hit, wallet won't load

0

I downloaded Bitcoin core wallet a few days ago. It was all going well, it synced just to about 25 weeks ago or something. One day the power went down and it shutdown the computer.

When I started bitcoin core again it loaded up to "loading wallet" and is stuck there. Unfortunately I already send a few BTC's to the wallet. Since I could not access my wallet, I figured that my BTC's are lost but then I start reading about accessing my wallet using Bitcoind, however when I create the bitcoin.conf file with the

rpcuser=bitcoinrpc
rpcpassword=xxxxxxxxxxxx 

It wont recognize it and still give me the same error and crash as before I created the file.

I am currently running on Windows XP. So since I can't access my wallet, and since the manual way does not seem to work either, is there any other way to withdraw the coins from the wallet? If not can anyone help me with the bitcoind problem. Thanks a lot.

Jan

Posted 2015-02-23T16:14:44.067

Reputation: 1

You backed up your wallet.dat before the crash, right? Right?Nate Eldredge 2015-02-23T20:27:09.233

Answers

1

The levelDB gets corrupted if bitcoind stops abruptly, like during an outage.

I'm not that familiar with running bitcoin core on Windows, but this fixes the issue on Linux. It isn't the quickest or best solution, but if manually transferring wallet.dat isn't an option (and you can't dump the private key as another person suggested because bitcoind won't run) this may work for you:

Go into your bitcoin data folder and delete the 'blocks' and 'chainstate' directories and restart bitcoind. It will of course have to re-download the blockchain and re-index which will take a long time, maybe even a week, but it will eventually catch up and you can use bitcoin core again.

Robert McCone

Posted 2015-02-23T16:14:44.067

Reputation: 104

0

Run bitcoind and on the command-line use this command:

dumpprivkey <your bitcoin address here>

This will dump your private key which can then be imported to any number of other bitcoin wallets like Mycelium, Electrum, Armory, etc. You will be able to access your funds in the other bitcoin wallet software once this key is imported.

Jimmy Song

Posted 2015-02-23T16:14:44.067

Reputation: 7 067