Bitcoin Forum
May 26, 2024, 06:00:02 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Losing Block Count When System Crashes  (Read 689 times)
BitMofo (OP)
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
July 22, 2011, 10: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...

1HNffyHktcD2iB6WJhPxKbALJdg4dwerTG
Furyan
Full Member
***
Offline Offline

Activity: 175
Merit: 102



View Profile
July 22, 2011, 11:46:41 AM
 #2

Back up the block database periodically?
error
Hero Member
*****
Offline Offline

Activity: 588
Merit: 500



View Profile
July 22, 2011, 04:24:44 PM
 #3

Don't run old versions of Bitcoin.

Fix whatever is causing your computer to crash.

3KzNGwzRZ6SimWuFAgh4TnXzHpruHMZmV8
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!