Author

Topic: Someone please help, my bitcoin block index is corrupted. (Read 840 times)

legendary
Activity: 4228
Merit: 1313
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.

legendary
Activity: 1680
Merit: 1010
Professional Native Greek Translator (2000+ done)
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.
full member
Activity: 238
Merit: 100
I love NACHOS
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.
newbie
Activity: 4
Merit: 0
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.
staff
Activity: 3458
Merit: 6793
Just writing some code
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.
newbie
Activity: 4
Merit: 0
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.
staff
Activity: 3458
Merit: 6793
Just writing some code
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?
newbie
Activity: 4
Merit: 0
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.
staff
Activity: 3458
Merit: 6793
Just writing some code
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.
newbie
Activity: 4
Merit: 0
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.
Jump to: