I am trying to create a genesis block in twister-core using Ubuntu and IDE Qt Creator. I have compiled the twister-core successfully, I have changed the these parameters for creating the genesis block pszTimestamp
, genesis.nTime
and genesis.nNonce
. Then I re-compiled it successfully. When I am executing twisterd
in the terminal using this command
./twisterd -rpcuser=user -rpcpassword=pwd -rpcallowip=127.0.0.1
this error occured:
Terminal Error :
Assertion `hashGenesisBlock == uint256("b24b7a9c568b4ae288c0be34699c4c79fc22848e7c346afd5f63901e41ed8640")' failed. Aborted (core dumped)
When I run it On Qt-Creator same error occur Error:
twisterd: ../twister/src/chainparams.cpp:216: CMainParams::CMainParams(): Assertion `hashGenesisBlock == uint256("b24b7a9c568b4ae288c0be34699c4c79fc22848e7c346afd5f63901e41ed8640")' failed.
The program has unexpectedly finished.
../twister-qt-Output/twisterd exited with code 0
Please help me to resolve this problem.