Following this guide, I'm trying to learn how to mine a genesis block, not to launch another altcoin or anything, blockchain databases are going to be important and I want to be ahead of the curve.
I'm using this script and working with the litecoin source. I have only changed the following:
find LoadBlockIndex() function, inside, change: - paraphrase (pszTimestamp) to any recent news phase. - get the latest unix time (do a google), and put in block.nTime. - set any nNonce (doesn't really matter) you can change the time/nonce for testnet too, if you want to use it.
Those variables are now found in
chainparams.cpp and I didn't change the testnet time/nonce.
After compiling when I try to run
litecoind I get the following error:
litecoind: chainparams.cpp:220: CTestNetParams::CTestNetParams(): Assertion `hashGenesisBlock == uint256("0xf5ae71e26c74beacc88382716aced69cddf3dffff24f384e1808905e0188f68f")' failed. Aborted
If anyone can help or point me in the direction of some modern documentation I'd me most grateful :)