Author

Topic: Losing Block Count When System Crashes (Read 699 times)

hero member
Activity: 588
Merit: 500
July 22, 2011, 11:24:44 AM
#3
Don't run old versions of Bitcoin.

Fix whatever is causing your computer to crash.
full member
Activity: 175
Merit: 102
July 22, 2011, 06:46:41 AM
#2
Back up the block database periodically?
member
Activity: 112
Merit: 10
July 22, 2011, 05:15:31 AM
#1
Hi,

I have noticed a very annoying issue in that if your computer crashes or doesn't power off correctly when bitcoin is still obtaining blocks (Can take hours to catch up...) Then the blkindex.dat file becomes corrupt and you have to remove the count files (blkindex.dat & blk0001.dat) in order to open bitcoin again. At this stage you must go through ALL the blocks again...
Is there anything that can be done to prevent this? Other than not using Windows? Lol...
Jump to: