Rename min-difficulty flag to remove off-by-one in the name

This commit is contained in:
Jack Grigg
2018-10-04 23:26:05 +01:00
parent b86dc98047
commit 1f7ee4af70
4 changed files with 10 additions and 8 deletions

View File

@@ -93,7 +93,7 @@ struct Params {
NetworkUpgrade vUpgrades[MAX_NETWORK_UPGRADES];
/** Proof of work parameters */
uint256 powLimit;
boost::optional<uint32_t> nPowAllowMinDifficultyBlocksFromHeight;
boost::optional<uint32_t> nPowAllowMinDifficultyBlocksAfterHeight;
int64_t nPowAveragingWindow;
int64_t nPowMaxAdjustDown;
int64_t nPowMaxAdjustUp;