Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: Hesham_3del on October 25, 2013, 01:51:25 PM



Title: Warning: Displayed transactions may not be correct! message !
Post by: Hesham_3del on October 25, 2013, 01:51:25 PM
Hi,

As you can see in the screenshot below

http://s12.postimg.org/w2h2t7rn1/10_25_2013_3_46_31_PM.png

I'm running v0.8.5 in Windows 8.1 Enterprise

I did hard shutdown yesterday while the bitcoin-qt was running and I released that I've some database corruption or something

How can I solve this please ?

Thank you.


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: Hesham_3del on October 25, 2013, 05:35:04 PM
Is it that hard ?


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: Raoul Duke on October 25, 2013, 05:44:27 PM
Start it from the command line with the -reindex flag.


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: Hesham_3del on October 25, 2013, 05:45:32 PM
Could you please guide me how to do this, as I can't figure how to work with command lines.

Thank you


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: Raoul Duke on October 25, 2013, 05:48:35 PM
I don't use windows, sorry, I don't know.


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: dserrano5 on October 25, 2013, 07:14:42 PM
Could you please guide me how to do this, as I can't figure how to work with command lines.

Is it that hard?

(sorry couldn't resist)


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: grue on October 25, 2013, 07:14:59 PM
Could you please guide me how to do this, as I can't figure how to work with command lines.

Thank you
1. go to the folder where bitcoin is installed
2. shift + right-click -> open command window here
3. type "bitcoin-qt -reindex" into the command window (without quotes) and hit enter
4. wait for bitcoin to rescan. this may take 30 minutes.

edit: correction by Raoul Duke


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: Raoul Duke on October 25, 2013, 07:34:50 PM
Could you please guide me how to do this, as I can't figure how to work with command lines.

Thank you
1. go to the folder where bitcoin is installed
2. shift + right-click -> open command window here
3. type "bitcoin-qt -rescan" into the command window (without quotes) and hit enter
4. wait for bitcoin to rescan. this may take 30 minutes.

The command is -reindex, not -rescan.
-reindex is a full replay of the blockchain. It will take longer than 30min.


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: Hesham_3del on October 25, 2013, 08:03:44 PM
Well,

It was "reindexing" successfully, but now, it's downloading or "syncing" with the network.

Is this because it's downloading the remaining chain blocks as I've also deleted blk00000 and blk00001 files OR there is something wrong happening ?

The file size of C:\Users\Hesham_3del\AppData\Roaming\Bitcoin is 7.84 GB, so any comments about the file size ?

The bitcoin-qt is syncing now at 124 weeks behind


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: grue on October 25, 2013, 08:14:19 PM
Is this because it's downloading the remaining chain blocks
yes. the blockchain is currently 12.8 gb.


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: Hesham_3del on October 25, 2013, 08:39:32 PM
Thanks.

So if I'm not mistaken, sometimes it will "sync" and sometimes it will "reindex", am I right ?


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: grue on October 25, 2013, 08:44:38 PM
Thanks.

So if I'm not mistaken, sometimes it will "sync" and sometimes it will "reindex", am I right ?
reindex only occurs if the stored data is corrupt.


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: Hesham_3del on October 25, 2013, 08:49:53 PM
- I don't think that with 120 weeks behind and I was at 24 weeks behind that it will still download that from the beginning and I'm at 7.88 GB, did you got my point ?

- Another question, if you don't mind :) , if I'm going to format my PC, what is the CORRECT way to have a backup of the chain blocks ? As it's impossible everytime I'm going to download 12+ GB.

Thank you


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: grue on October 25, 2013, 09:07:46 PM
- I don't think that with 120 weeks behind and I was at 24 weeks behind that it will still download that from the beginning and I'm at 7.88 GB, did you got my point ?

- Another question, if you don't mind :) , if I'm going to format my PC, what is the CORRECT way to have a backup of the chain blocks ? As it's impossible everytime I'm going to download 12+ GB.

Thank you
copy these folders:
%appdata%\Bitcoin\blocks
%appdata%\Bitcoin\chainstate
%appdata%\Bitcoin\database

after you restore the folders, run "bitcoin-qt.exe -rescan"


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: Hesham_3del on October 25, 2013, 09:35:16 PM
Thank you, what about my 1st question, forgive me but I'm afraid and this is time-consuming.

"- I don't think that with 120 weeks behind and I was at 24 weeks behind that it will still download that from the beginning and I'm at 7.88 GB, did you got my point ?"


Title: Re: Warning: Displayed transactions may not be correct! message !
Post by: grue on October 26, 2013, 01:19:34 AM
you can download this: https://bitcointalk.org/index.php?topic=145386.0 which is much faster than syncing.