Just in case someone would ask something like this (see below), here is what i would answer, hopefully helping other people :
But ... again ...
if you can't find this out ... building, maintaining and releasing another fork just
may not be a thing for you to do !
Hi , below is the kernel.cpp code , can you help me check , and how to update and create genesis block , thanks
below is the kernel.cpp code
unsigned int nModifierInterval = MODIFIER_INTERVAL;
// Hard checkpoints of stake modifiers to ensure they are deterministic
static std::map<int, unsigned int> mapStakeModifierCheckpoints =
boost::assign::map_list_of
( 0, 0xfd11f4e7u )
;
so .. here's what i'd answer :
just .... log it damnit
find the line that outputs this log entry and ... just log the stake modifier checksum!
ERROR: AddToBlockIndex() : Rejected by stake modifier checkpoint height=0, modifier=0x0000000000000000
If you can't find that out either (ooooo ... this coin's gonna be SOMETHING) :
if (!CheckStakeModifierCheckpoints(pindexNew->nHeight, pindexNew->nStakeModifierChecksum))
return error("AddToBlockIndex() : Rejected by stake modifier checkpoint height=%d, modifier=0x%016"PRI64x" pindexNew->nStakeModifierChecksum=0x%08"PRI64x, pindexNew->nHeight, nStakeModifier, pindexNew->nStakeModifierChecksum);