Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: seafarer124 on September 09, 2013, 07:43:59 AM



Title: Corrupted Blockchain Data Detected
Post by: seafarer124 on September 09, 2013, 07:43:59 AM
Just opened my laptop and started Bitcoin QT and received the message blockchain corrupt, I clicked OK and now it appears "Reindexing blocks - 204 weeks.

Also, my Bitcoins are Unconfirmed.

What happened, why the message?


Title: Re: Corrupted Blockchain Data Detected
Post by: Justin00 on September 09, 2013, 08:13:59 AM
I just got that aswell.. opened up my client 5 seconds ago.

was working fine when I opened it a few hours back. Closed it down normally.. so not sure what the problem is..

Im using 0.8.4

Its rebuilding now so we'll see if it fixs itsself.


Title: Re: Corrupted Blockchain Data Detected
Post by: MsBitcoin on September 09, 2013, 08:16:12 AM
I also got this error on 2 different computers.  One running 0.8.3 and one running 0.8.4.


Title: Re: Corrupted Blockchain Data Detected
Post by: seafarer124 on September 09, 2013, 08:28:42 AM
The power went off for about fifteen minutes, lost internet connection.

That is the only thing different that has happened, Bitcoin QT was open and synced at the the time I lost the connection.



Title: Re: Corrupted Blockchain Data Detected
Post by: Chemistry1988 on September 09, 2013, 08:29:58 AM
Got the same error just now. Cannot find anything useful in debug log. Running 0.8.4 on Win7 x64.

Is it just a few of us getting unlucky? or a 0.8.4 problem?


PS: a few more victims found in another forum thread https://bitcointalk.org/index.php?topic=290831.0


Title: Re: Corrupted Blockchain Data Detected
Post by: Justin00 on September 09, 2013, 08:32:33 AM
wierd it happeend at the same time.
mine hadn't even started resyncing yet.... don't even think it had connected to the network

97 'weeks behind' to go now... yeehaw!


Title: Re: Corrupted Blockchain Data Detected
Post by: gmaxwell on September 09, 2013, 09:44:45 AM
Please see: https://bitcointalk.org/index.php?topic=290922.0


Title: Re: Corrupted Blockchain Data Detected
Post by: Justin00 on September 09, 2013, 09:49:38 AM
thanks for that. To late for me now though.. I re-indexed :( been chugging along for a couple of hours.. "22 weeks" to go.. going sooo slowly now.


Title: Re: Corrupted Blockchain Data Detected
Post by: gmaxwell on September 09, 2013, 09:58:06 AM
After it finishes you should be working, but if you restart again it will fail again until you do the workaround described (or until the triggering transactions are far enough back that they are no longer subject to the startup time double checking).


Title: Re: Corrupted Blockchain Data Detected
Post by: seafarer124 on September 09, 2013, 10:37:55 AM
After it finishes you should be working, but if you restart again it will fail again until you do the workaround described (or until the triggering transactions are far enough back that they are no longer subject to the startup time double checking).
How long to wait before problem is far enough back, two days/one week?


Title: Re: Corrupted Blockchain Data Detected
Post by: gmaxwell on September 09, 2013, 10:57:05 AM
How long to wait before problem is far enough back, two days/one week?
Once you are already stuck waiting won't help.  Add the -checklevel=2  command-line parameter  or checklevel=2 to bitcoin.conf.


Title: Re: Corrupted Blockchain Data Detected
Post by: seafarer124 on September 09, 2013, 12:11:05 PM
How long to wait before problem is far enough back, two days/one week?
Once you are already stuck waiting won't help.  Add the -checklevel=2  command-line parameter  or checklevel=2 to bitcoin.conf.
Sorry, I do not know where to make the change, I do not know a great deal about technical things on a computer.

Any assistance is appreciated.


Title: Re: Corrupted Blockchain Data Detected
Post by: Justin00 on September 09, 2013, 12:14:26 PM
just applied the workaround and its all working  - thanks :)

seafarer: make a shortcut and in the properties go to the "target" field and put in

"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" -checklevel=2

You'll need to change the program files part if yours is in a diff directory


Title: Re: Corrupted Blockchain Data Detected
Post by: seafarer124 on September 09, 2013, 01:39:22 PM
just applied the workaround and its all working  - thanks :)

seafarer: make a shortcut and in the properties go to the "target" field and put in

"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" -checklevel=2

You'll need to change the program files part if yours is in a diff directory

Thanks for the information.

I will try when the client has finished Reindexing, down to 9 days behind.

Has taken nearly all day, bit of a pain.


Title: Re: Corrupted Blockchain Data Detected
Post by: seafarer124 on September 09, 2013, 02:29:04 PM
just applied the workaround and its all working  - thanks :)

seafarer: make a shortcut and in the properties go to the "target" field and put in

"C:\Program Files (x86)\Bitcoin\bitcoin-qt.exe" -checklevel=2

You'll need to change the program files part if yours is in a diff directory

Thanks for the information.

I will try when the client has finished Reindexing, down to 9 days behind.

Has taken nearly all day, bit of a pain.
Just changed it and it all appears to working.

Thank you for the help.


Title: Re: Corrupted Blockchain Data Detected
Post by: atomium on September 09, 2013, 08:28:01 PM
how can i add this fix to the mac version of bitcoin qt?


Title: Re: Corrupted Blockchain Data Detected
Post by: Trader Steve on September 09, 2013, 10:19:57 PM
how can i add this fix to the mac version of bitcoin qt?

I, too, would like to know...


I figured it out...see the link referenced above for details.