Encountering “ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)” error when I ran modified litecoin chainparams.cpp
Encountering “ReadBlockFromDisk: Errors in block header at CBlockDiskPos(nFile=0, nPos=8)” error when I ran modified litecoin chainparams.cpp First: I am a newbite to altcoin development, next to generate an altcoin from litecoin, 1- I have made a clone of litecoin using git clone https://githubcom/litecoin-project/lotecoin.git 2- I changed some of chain and coin parameters in chainparams.cpp as below: // Copyright (c) 2010 Satoshi Nakamoto // Copyright (c) 2009-2015 The Bitcoin Core developers // Distributed under the MIT software license, see the accompanying // file COPYING or http://ift.tt/j1ALGl. #include "chainparams.h" #include "consensus/merkle.h" #include "tinyformat.h" #include "util.h" #include "utilstrencodings.h" #include <assert.h> #include "chainparamsseeds.h" #include "arith_uint256.h" static CBlock CreateGenesisBlock(const char* pszTimestamp, const CScript& genesisOutpu...