Finish up new POS difficulty calc

This commit is contained in:
Michael Toutonghi
2018-05-19 19:03:53 -07:00
parent dbe656fe39
commit 3de80992e0
2 changed files with 5 additions and 11 deletions

View File

@@ -250,7 +250,7 @@ void *chainparams_commandline(void *ptr)
mainParams.consensus.nPOSTargetSpacing = VERUS_BLOCK_POSUNITS * 2;
// nLwmaPOSAjustedWeight = (N+1)/2 * (0.9989^(500/nPOSAveragingWindow)) * nPOSTargetSpacing
// this needs to be recalculated if VERUS_BLOCK_POSUNITS is changed
mainParams.consensus.nLwmaPOSAjustedWeight = 45000;
mainParams.consensus.nLwmaPOSAjustedWeight = 46531;
}
checkpointData = //(Checkpoints::CCheckpointData)