Post
Topic
Board Bitcoin Technical Support
Re: Did I just lose my coins because I restarted my mac while Qt v0.8.4 was syncing?
by
altcoinhosting2
on 12/08/2015, 08:36:14 UTC
So I forced a shutdown on my mac running 10.10.4 Yosemite, and when I restarted Bitcoin-Qt v0.8.4 I get:

"System Error: Database Corrupted". I then click OK, and the program "quits unexpectedly"

After googling a bit, I find what seems to be a simple fix.  I goto /library/application support/bitcoin/blocks
renamed the "index" folder to "index1", and restarted bitcoin-qt.

This seems to help.  The program opens without the error message and begins reindexing.  It shows a balance of 0 BTC, but an unconfirmed balance equal to my original balance.

However, now I see the message "Warning displayed transactions may not be correct, you may need to upgrade or other nodes may need to upgrade".  I let it sit for 5 days straight and nothing changes.  It still reads "synchronizing with network" across the bottom, but the status bar hasn't moved.

Now I'm getting worried.

I quit the program, copy my wallet.dat file to the desktop and run this code in terminal:

open /Applications/Bitcoin-Qt.app --args -salvagewallet

Now everything is the same, but even my UNCONFIRMED balance shows as zero!

Any help would be appreciated.  I never thought bitcoin was this fragile.

It isn't that fragile... I would suggest to save your wallet.dat, and start all over again...
Install the wallet from scratch, import your old wallet.dat, make sure you have peers (getpeerinfo). If not, wait or add some nodes (addnode).
Wait untill everything syncs (can take several days), and you should be allright...

The wallet.dat is the only really important file. It holds your keys... The only thing you can lose by starting over (BUT WITH YOUR OLD WALLET.DAT) are the comments, labels or the addresses in your adress book you made