Proof-of-stake related code refactoring and cleanup

This commit is contained in:
lateminer
2018-10-12 23:40:50 +03:00
parent da2c4ec6c9
commit 66dd63a23b
10 changed files with 163 additions and 164 deletions

View File

@@ -59,6 +59,7 @@ struct Params {
bool fPowAllowMinDifficultyBlocks;
int64_t nTargetSpacingV1;
bool fPowNoRetargeting;
bool fPoSNoRetargeting;
int64_t nTargetSpacing;
int64_t nTargetTimespan;
int64_t DifficultyAdjustmentInterval() const { return nTargetTimespan / nTargetSpacing; }