Title: ERROR: Hardened checkpoint at height 0 Post by: marvic4 on September 03, 2020, 11:19:28 AM Hello,
2020-09-03T11:05:58Z ERROR: ConnectBlock: expected hardened checkpoint at height 0 2020-09-03T11:05:58Z InvalidChainFound: invalid block=0000cd027920e06c8427611280df1bb5afc78a22cdb21a74d87b51da6b84bd5d height=0 log2_work=16.000022 date=2020-09-03T07:48:16Z qtumd: validation.cpp:1636: void InvalidChainFound(CBlockIndex*): Assertion `tip' failed. What is the issue. Thanks Title: Re: ERROR: Hardened checkpoint at height 0 Post by: DaveF on September 03, 2020, 11:34:44 AM What version did you compile?
As far as I remember BTC no longer uses hardcoded checkpoints but this is for block 0 so it might still be checking for that. You can probably google around for that. Beyond that I have no idea, you will have to wait for a few more knowledgeable people to pop in. -Dave Title: Re: ERROR: Hardened checkpoint at height 0 Post by: marvic4 on September 03, 2020, 11:44:49 AM What version did you compile? As far as I remember BTC no longer uses hardcoded checkpoints but this is for block 0 so it might still be checking for that. You can probably google around for that. Beyond that I have no idea, you will have to wait for a few more knowledgeable people to pop in. -Dave Latest version I think, cloned from repository with --recursive. Can I use MainNet data( Merkle, Genesis, epoch, nounce) to Testnet and RegTest? Thanks Title: Re: ERROR: Hardened checkpoint at height 0 Post by: vjudeu on September 05, 2020, 05:59:36 AM Quote Latest version I think, cloned from repository with --recursive. Probably not, in the latest version this assertion is in line 1420, not 1636 in validation.cpp. Are you using "23d3ae7accfc690298b1b0bac9615155f485c5ad" version?It seems that your client found a node with different Genesis Block. All blocks have block hash starting with at least 32 zero bits. Also, this Genesis Block has a very recent timestamp, 2020-09-03. Hardened checkpoints does not exist in the newest version, grep shows no results for "hardened checkpoint". Title: Re: ERROR: Hardened checkpoint at height 0 Post by: marvic4 on September 05, 2020, 07:39:10 AM I cleaned everything and new genesis block created. Now its working Fine.
Code: root@bitstash:/home/qtum-old/src# ./qtum-cli --getinfo Code: 2020-09-04T05:23:22Z [default wallet] Performing wallet upgrade to 169900 Thanks Title: Re: ERROR: Hardened checkpoint at height 0 Post by: marvic4 on September 05, 2020, 12:10:59 PM Can I use MainNet data( Merkle, Genesis, epoch, nounce) to Testnet and RegTest? No, due to various reasons such as different address format & genesis block on testnet are different. Thanks, I used source code to generate Genesisblock hash, with different PCH message and other values for all three. For Mainnet and TestNet it crated same Nounce, Markel and Genesis Hash values. But different values for RegTest. |