CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256

CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256

Yet another thread but i just cant, i have spent 1 week reading every post there is in this forum and every other possible forum.

I created X11 hash/root/nounce from GenesisH0 script, if i just compile the project i am forking, everything will work.

Once i change

  • static Checkpoints::MapCheckpoints mapCheckpoints = boost::assign::map_list_of(0, uint256("0x00000ee3e5c7e3297303b5268ea76585c0142b85b7207314c01c97e62f6d479e"))

with the genesis hash

then

  • pchMessageStart 0,1,2,3

  • vAlertPubKey

  • nTime, nBits (0x1e0ffff0) , nNonce (provided from the GenesisH0 script)

  • genesis hash + merkleroot

then make then sudo make install

everytime i will get that assertion failed.

i have tried every possible code i have found on githubs to create the Genesisblock with some printf calls, no luck, will always get a no scope called at this action or some other stuff.

doing any of the above i do NOT get a debug.log file.

i have to comment out both of the

  • assert(hashGenesisBlock == uint256
  • assert(genesis.hashMerkleRoot == uint256

in order to get a debug.log which returns

CheckProofOfWork() : hash doesn't match nBits

https://ift.tt/2BAAbk2

Comments

Popular posts from this blog

bitcoin node: what is the difference between simnet and regtest?

How to check if Electrum is masking my IP with the Tor proxy?

Need help to recover blpckchain.info wallet, my wife forgot her password and the brute force with btcrecover is not catching the password