Is there a way to reindex from disk but not start from blk0000.dat?

2

1

While my Bitcoin-Qt was synchronizing, I ran into the following error:

It first loaded full blocks from blk00000.dat to blk00217.dat file (with file size about 131 MB per file). Then Bitcoin-Qt indexed everything from rev00000.dat to rev00214 (with file size about 17 MB per file), but skipped rev00215 and rev00216, and just created rev00217.

Now Bitcoin-Qt is stuck synchronizing with network but doesn't load more block. The block number is constant.

I ran Bitcoin-Qt for 9 more days. I want to keep all index data completed (to blk00214) and continue reindex from right before where the error occurred (blk00215), rather than restarting from the beginning. Is there a way to reindex from a certain point?

Please help!

jacker

Posted 2015-01-19T11:10:18.783

Reputation: 21

Which version of the Bitcoin-Qt software are you running?morsecoder 2015-01-19T17:53:45.657

Answers

4

Unfortunately, I don't believe the -reindex option has the ability to be that smart.

If I were you, I would:

  1. Shutdown Bitcoin-Qt
  2. Start Bitcoin-QT with the -reindex flag

Reindexing doesn't take very long usually (maybe a few hours). 9 days is a long time to wait, it would probably be better to just start with a clean reindex. This won't delete the blkxxxxx.dat files, so you won't have to download all that data again at least.

morsecoder

Posted 2015-01-19T11:10:18.783

Reputation: 12 624

Thanks! but i don't want to reindex from begin (start blk00000.dat), i want to continue index from error ! how can i do ?jacker 2015-01-20T01:44:17.603

1You can't. Doing what I suggested will be easier and take less time than trying to figure out how to continue from where you left off.morsecoder 2015-01-20T01:46:59.927