Bitcoin Forum
May 12, 2024, 11:16:51 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Someone please help, my bitcoin block index is corrupted.  (Read 817 times)
supernintendo64 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 23, 2016, 04:50:36 PM
 #1

I just got Bitcoin Core and it's been downloading the block index for a few days now and then just a few minutes ago, my stupid computer crashes while it's running Bitcoin Core and corrupts my block index. Now it won't open. I don't know what to do. I don't want to start the download all over again. Please help.
EDIT: Language.
1715512611
Hero Member
*
Offline Offline

Posts: 1715512611

View Profile Personal Message (Offline)

Ignore
1715512611
Reply with quote  #2

1715512611
Report to moderator
1715512611
Hero Member
*
Offline Offline

Posts: 1715512611

View Profile Personal Message (Offline)

Ignore
1715512611
Reply with quote  #2

1715512611
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
June 23, 2016, 04:52:54 PM
 #2

You will have to reindex the blockhain it should automatically prompt you for that when it starts up. Reindexing is not the same as redownloading, nothing is downloaded, it just indexes the blocks you have already downloaded and continues syncing from where it left off.

supernintendo64 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 23, 2016, 05:01:00 PM
 #3

Thanks but I forgot to mention that when I open Bitcoin Core, it says that it had an error reading the database and then I get a runtime error. I'm running Windows 10 and I'm using the latest version of Core.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
June 23, 2016, 05:05:05 PM
 #4

Thanks but I forgot to mention that when I open Bitcoin Core, it says that it had an error reading the database and then I get a runtime error. I'm running Windows 10 and I'm using the latest version of Core.
What is the exact error given? Can you also provide the Debug.log file?

supernintendo64 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 23, 2016, 05:15:02 PM
 #5

Thanks but I forgot to mention that when I open Bitcoin Core, it says that it had an error reading the database and then I get a runtime error. I'm running Windows 10 and I'm using the latest version of Core.
What is the exact error given? Can you also provide the Debug.log file?
https://i.imgur.com/cdjFXFk.png
https://i.imgur.com/Lu2glNp.png

And no, I don't know where the debug.log file is. It's not in the program's files.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 3388
Merit: 6635


Just writing some code


View Profile WWW
June 23, 2016, 05:26:41 PM
 #6

Thanks but I forgot to mention that when I open Bitcoin Core, it says that it had an error reading the database and then I get a runtime error. I'm running Windows 10 and I'm using the latest version of Core.
What is the exact error given? Can you also provide the Debug.log file?



And no, I don't know where the debug.log file is. It's not in the program's files.
In the windows file explorer and in the top bar, type
Code:
%appdata%/Bitcoin
And hit enter.

The Debug.log file is in there. Post all of its contents here. If it is to large, go to http://pastebin.com and post it in a new paste there. Then post the link here.

I think you will need to delete a few things to fix the error. Try deleting the chainstate folder and the index folder inside of the blocks folder.

supernintendo64 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 23, 2016, 05:35:41 PM
Last edit: June 23, 2016, 05:47:10 PM by supernintendo64
 #7

Thanks but I forgot to mention that when I open Bitcoin Core, it says that it had an error reading the database and then I get a runtime error. I'm running Windows 10 and I'm using the latest version of Core.
What is the exact error given? Can you also provide the Debug.log file?
https://i.imgur.com/cdjFXFk.png
https://i.imgur.com/Lu2glNp.png

And no, I don't know where the debug.log file is. It's not in the program's files.
In the windows file explorer and in the top bar, type
Code:
%appdata%/Bitcoin
And hit enter.

The Debug.log file is in there. Post all of its contents here. If it is to large, go to http://pastebin.com and post it in a new paste there. Then post the link here.

I think you will need to delete a few things to fix the error. Try deleting the chainstate folder and the index folder inside of the blocks folder.

It was too big even for pastebin so I putted it in dropbox.

https://www.dropbox.com/s/yimua7sq0wcxpya/debug.log?dl=0

Also I will try what you suggested.

EDIT: I tried what you suggested and it reset the progress bar.

EDIT 2: I put the folders back and changed some file names. I finally got it to reindex.
etparle
Full Member
***
Offline Offline

Activity: 238
Merit: 100

I love NACHOS


View Profile
June 23, 2016, 06:02:11 PM
 #8

Is there a reason you're using core? You can use a lighter weight wallet like Electrum which doesn't require you to download the entire blockchain. It's 100% as safe as using core.
killerjoegreece
Legendary
*
Offline Offline

Activity: 1666
Merit: 1007


Professional Native Greek Translator (2000+ done)


View Profile WWW
July 01, 2016, 03:41:07 PM
 #9

maybe you can try a bootstrap. or copy and paste the files in another location and have em ready to copy them back again once corruption happens.
cr1776
Legendary
*
Offline Offline

Activity: 4032
Merit: 1301


View Profile
July 01, 2016, 03:50:16 PM
 #10

maybe you can try a bootstrap. or copy and paste the files in another location and have em ready to copy them back again once corruption happens.

Using a bootstrap is a bad idea and has been since version 0.10.0.

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!