while (true)
{
LogPrintf("recalculating params for mainnet.\n");
LogPrintf("old mainnet genesis nonce: %u\n", genesis.nNonce);
LogPrintf("old mainnet genesis hash: %s\n", hashGenesisBlock.ToString().c_str());
// deliberately empty for loop finds nonce value.
for(genesis.nNonce == 0; genesis.GetHash() > bnProofOfWorkLimit; genesis.nNonce++){ }
LogPrintf("new mainnet genesis merkle root: %s\n", genesis.hashMerkleRoot.ToString().c_str());
LogPrintf("new mainnet genesis nonce: %lld\n", genesis.nNonce);
LogPrintf("new mainnet genesis hash: %s\n", genesis.GetHash().ToString().c_str());
}
yields nothing.
It crashes one line below this
chainparams.cpp:173: CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256("0x0")' failed.
What am I missing here, Why is'nt this prompting for the data directory or finding the genesis block? Am I missing another step?
I'v removed all checkpoints and nearly everything else. Any help will be appreciated and I will tip you in your choice of LTC or BTC, Please help.
I will pay a bounty for whoever can help me solve this problem.