|
|
@ -115,8 +115,8 @@ struct Params { |
|
|
|
int64_t AveragingWindowTimespan() const { return nPowAveragingWindow * nPowTargetSpacing; } |
|
|
|
int64_t MinActualTimespan() const { return (AveragingWindowTimespan() * (100 - nPowMaxAdjustUp )) / 100; } |
|
|
|
int64_t MaxActualTimespan() const { return (AveragingWindowTimespan() * (100 + nPowMaxAdjustDown)) / 100; } |
|
|
|
int32_t SetSaplingHeight(int32_t height) { vUpgrades[Consensus::UPGRADE_SAPLING].nActivationHeight = height; } |
|
|
|
int32_t SetOverwinterHeight(int32_t height) { vUpgrades[Consensus::UPGRADE_OVERWINTER].nActivationHeight = height; } |
|
|
|
void SetSaplingHeight(int32_t height) { vUpgrades[Consensus::UPGRADE_SAPLING].nActivationHeight = height; } |
|
|
|
void SetOverwinterHeight(int32_t height) { vUpgrades[Consensus::UPGRADE_OVERWINTER].nActivationHeight = height; } |
|
|
|
uint256 nMinimumChainWork; |
|
|
|
}; |
|
|
|
} // namespace Consensus
|
|
|
|