Edit: Rewording this question to be more clear and concise.
- Was running bitcoin-qt .0.8.1 on osx mountain lion.
- experienced a kernel panic, likely from some conflict between mac ports and homebrew. Hardware was tested and does not seem to be the culprit.
- upon next restart of bitcoin client I have a corrupted database and eventually the entire blockchain needs reloading.
- only had a small amount of coins in wallet but was hoping to use them sooner than an entire blockchain download would take using the client (x days where x >= 2).
Things I tried
Restoring the relevant files in the data directory from the last backup before the crash. Actually had one from that morning. Did not really work -- client would trying to verify the db and eventually would crash.
Got the latest bootstrap.dat from torrent, and tried placing in data directory. This eventually sort-of worked after next two steps.
Eventually imported wallet.dat at blockchain.info as a stop-gap, but it turned up a few bitcents short. I think because I had sent something to a wallet address before this happened and it hadn't synced yet. I'll figure that one out once I'm fully synced, and if I ended up losing $5-10 worth of btc into the ether somewhere, I'll get over it.
Fixed the probable cause of kernel panic and reinstalled/upgraded to latest 0.8.3 client and retried the above steps.
- Also had to pretty much nuke the data directory in order to get bootstrap working. (renamed/moved actually just in case) Saved wallet.dat (encrypted) elsewhere.
At this point the bootstrap method seems to be working. The client reports importing block from disk. However, it soon becomes apparent that this method does not really make things any faster. It seems to load the blockchain from my HDD at about the same rate it downloads from the network. Also, latest update was apparently 13 weeks old, and those last 13 weeks make-up most of the payload...
So for now I've got my old wallet imported onto electrum, and bitcoin-qt is back home chugging away finishing the download so hopefully I can find that change when it's done and be done with it.
OK, so what are my question(s)?
- Wy does it seem to take just as long for the client to import from the local HDD as it does from the p2p network? If I were smart I would have put the bootstrap file on my SDD, but it appears that's not the case. But still, I'd assume it would be faster than from the cloud. Any ideas? I don't remember if I have the 5200 or 7200RPM hdd; I probably just got a 52 since I was buying an SDD along with it.
- Any blockchain-scalability plans in order for future releases of bitcoin-qt? Evidently this is growing faster than they expected.
- Anybody have a full working procedure for restoring data directory files when you have backups available? Found a few ideas elsewhere on the net but nothing that worked. My backup software keeps old versions of files so it's not too difficult to assemble a snapshot with the /chainstate and /block directory contents from some specific date. But the client was barfing on this method.
Thanks, hope that is somewhat improved.