Author

Topic: Checksum of file blk00256.dat (Read 869 times)

sr. member
Activity: 392
Merit: 268
Tips welcomed: 1CF4GhXX1RhCaGzWztgE1YZZUcSpoqTbsJ
August 09, 2015, 08:45:09 AM
#11
These files are not blocks directly, but parts of a database with its own layer of indexing and management. You cannot use them as drop ins. Additionally, the database layer and bitcoind will not have enough integration to intelligently redownload some blocks.
newbie
Activity: 5
Merit: 0
August 09, 2015, 05:12:42 AM
#10
This is a bit strange, but after replacing my file with file provided by ^.^ and run bitcoin with command
Code:
bitcoin-qt -datadir=bitcoin-data -txindex=1 -rescan
client still works, it sucessfully downloaded blocks created from 2 hours ago and show no errors... Cheesy
I'm not sure what is going on, but I think that rebuilding an old database (with blk00256.dat removed) is the best choice. Cheers!
newbie
Activity: 5
Merit: 0
August 09, 2015, 05:03:31 AM
#9
Quote from: ^.^
i get
Code:
11A37515AF2DA035570114E942F891D3C4E3D400987E37510336B61EF240DEF3

here if you want it
http://cloud.bloginhell.me/index.php/s/Xdlw2jPEUz50H0I

Thank you very much! I am waiting now while process of copying old files was finished. But I has found that hashes of first 50 transactions from your file is different from hashes of my file. So I think that replacing one file by other is not possible. But I will write soon about that will be happened after copying and replacing my file with your.

Quote from: vm1990
rebuilding isnt the same as redownloading most computers reindex in about an hour. its just checking everything and replacing a blk will probably need a rebuild anyhow
Thank you!

Quote from: dserrano5
Quote from: howareyoutoday
I have a new question. If I will replace this file using file provided by someone else then is my database will not be corrupted?

It will be corrupted because the indexes no longer point to where they are supposed to.


Quote from: howareyoutoday
And it looks like replacing this file with file provided by anyone else will not help me, and there is only way is rebuild database?

Correct, you have to re-download everything from that point on.

Thank you!

For users with HDD is a bit sadly, that there is no place from where you can download database files by choosing them partly. So, this question seems solved now.
legendary
Activity: 1974
Merit: 1029
August 09, 2015, 04:56:09 AM
#8
I have a new question. If I will replace this file using file provided by someone else then is my database will not be corrupted?

It will be corrupted because the indexes no longer point to where they are supposed to.


And it looks like replacing this file with file provided by anyone else will not help me, and there is only way is rebuild database?

Correct, you have to re-download everything from that point on.
legendary
Activity: 1540
Merit: 1002
August 09, 2015, 04:31:10 AM
#7
rebuilding isnt the same as redownloading most computers reindex in about an hour. its just checking everything and replacing a blk will probably need a rebuild anyhow
^.^
member
Activity: 81
Merit: 10
August 09, 2015, 04:29:03 AM
#6
i get
Code:
11A37515AF2DA035570114E942F891D3C4E3D400987E37510336B61EF240DEF3

here if you want it
http://cloud.bloginhell.me/index.php/s/Xdlw2jPEUz50H0I
newbie
Activity: 5
Merit: 0
August 09, 2015, 04:23:46 AM
#5
Quote from: vm1990
in theory if you delete the block the bitcoin wallet should see something strange (trys not to sings ghostbusters) and reindex and download any missing info.... in theory
This thing has been a first thought. I had made a copy of bitcoin data directory and then deleted a blk00256.dat file. After that I executed bitcoin-qt and it offered to rebuild a database. When I accepted this then bitcoin client has started a database rebuild process from first block. When I first post this message I think about that it is possible to fix this problem without a rebuilding full database (because this one takes a long time).
legendary
Activity: 1540
Merit: 1002
August 09, 2015, 04:09:37 AM
#4
in theory if you delete the block the bitcoin wallet should see something strange (trys not to sings ghostbusters) and reindex and download any missing info.... in theory
newbie
Activity: 5
Merit: 0
August 09, 2015, 03:50:26 AM
#3
Quote from: dserrano5
Your copy might have orphan blocks that my copy wouldn't, therefore checking integrity with a hash isn't reliable. Mine doesn't match but that means nothing to you.
Thank you! I did not know about that. So, I have a new question. If I will replace this file using file provided by someone else then is my database will not be corrupted? I know that this files has contains raw blocks, but I did not know are this files can contain a different amount of blocks at different computers or not. UPD.: as I understand, yes. And it looks like replacing this file with file provided by anyone else will not help me, and there is only way is rebuild database?
legendary
Activity: 1974
Merit: 1029
August 09, 2015, 03:39:56 AM
#2
Please, can you check if your output of
Code:
sha256sum blk00256.dat
is matches with
Code:
5a70d49f9aca1d11e792aa7cfe5db33ea90b6744e8aa01a06216b82670443a3c

Your copy might have orphan blocks that my copy wouldn't, therefore checking integrity with a hash isn't reliable. Mine doesn't match but that means nothing to you.
newbie
Activity: 5
Merit: 0
August 09, 2015, 03:20:21 AM
#1
Hi! I have experienced a some problem with one of block files.
Please, can you check if your output of
Code:
sha256sum blk00256.dat
is matches with
Code:
5a70d49f9aca1d11e792aa7cfe5db33ea90b6744e8aa01a06216b82670443a3c
If no, please, can you upload this file at any file hosting? MEGA, for example.
Jump to: