i'm trying to build a new altcoin just for demostration.
i'm stuck at this point
Quote
4. Change parameters, all in main.cpp:
- block value (in GetBlockValue())
- block time (right after GetBlockValue())
- diff retarget time (right after GetBlockValue())
- adjust the diff retarget scale to avoid instamine (in GetNextWorkRequired())
- block value (in GetBlockValue())
- block time (right after GetBlockValue())
- diff retarget time (right after GetBlockValue())
- adjust the diff retarget scale to avoid instamine (in GetNextWorkRequired())
i opened main.cpp and found GetBlockValue() but all i can see is this:
Quote
bool LoadBlockIndex()
{
// Load block index from databases
if (!fReindex && !LoadBlockIndexDB())
return false;
return true;
}
{
// Load block index from databases
if (!fReindex && !LoadBlockIndexDB())
return false;
return true;
}
anyone can help me?
thanks