0

I once saved the "blocks" folder + the "index" folder of the Bitcoin wallet.

Now on another PC I thought I could load the chain that way by copy pasting these folders in Appdata. Wasn't very smart not to copy directly the whole file folder.

So in my situation what else do I need exactly to properly launch the wallet with a full blockchain ? Please help I don't want to download the chain again...

I get this error:

2017-02-01 02:56:15 ERROR: ReadBlockFromDisk(CBlock&, CBlockIndex*): GetHash() doesn't match index for CBlockIndex(pprev=0xd4ba3c0, nHeight=299478, merkle=4f27a1a8c5f19894e7012ce4ea4f83eba0ea846af888749980d85‌​5e5d7179e46, hashBlock=00000000000000001e66b8d27a6bcff234f06d502a01aa23fd‌​4be311d8b2dbf2) at CBlockDiskPos(nFile=138, nPos=8)
  • 1
    What exactly is the problem? If blocks/ and blocks/index/ are present, recent versions of Bitcoin Core will process the blocks in it, and rebuild chainstate/ at startup. – Pieter Wuille Feb 1 '17 at 1:57
  • Are you getting any sort of error doing this? – Nick ODell Feb 1 '17 at 3:04
  • 2
    Sorry haven't checked the error log. It says : 2017-02-01 02:56:15 ERROR: ReadBlockFromDisk(CBlock&, CBlockIndex*): GetHash() doesn't match index for CBlockIndex(pprev=0xd4ba3c0, nHeight=299478, merkle=4f27a1a8c5f19894e7012ce4ea4f83eba0ea846af888749980d855e5d7179e46, hashBlock=00000000000000001e66b8d27a6bcff234f06d502a01aa23fd4be311d8b2dbf2) at CBlockDiskPos(nFile=138, nPos=8) 2017-02-01 02:56:15 *** Failed to read block Which block file is in cause ? I don't know what to do. – Theodore.us Feb 1 '17 at 3:20
  • This means your blocks/ and blocks/index do not correspond. See the answer below. – Pieter Wuille Feb 2 '17 at 16:32
2

As far as I am aware, you will also need the chainstate folder in order to properly run from a backup. Other files/folders are not strictly needed to restart your daemon. More information concerning specific folders can be found here: https://en.bitcoin.it/wiki/Data_directory

If all else fails start the process with -reindex and let it run - it "only" takes 24-48 hours depending on your bandwidth. Even though I know you don't want that!

  • His problem is that the blocks/ and blocks/index are out of sync, but this answer (using -reindex) will fix that too. It's also inevitable, as he needs to build the chainstate anyway. – Pieter Wuille Feb 2 '17 at 16:33
  • Okay. How much space is the full chainstate folder ? If not too heavy could someone please upload it via wetransfer ? My mail lau.w@live.fr – Theodore.us Feb 2 '17 at 22:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.