Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getter

This commit is contained in:
Jorge Timón
2015-04-10 18:42:50 +02:00
parent ea2b425b00
commit bebe7282ff
4 changed files with 15 additions and 14 deletions

View File

@@ -56,8 +56,6 @@ public:
bool MiningRequiresPeers() const { return fMiningRequiresPeers; }
/** Default value for -checkmempool and -checkblockindex argument */
bool DefaultConsistencyChecks() const { return fDefaultConsistencyChecks; }
/** Allow mining of a min-difficulty block */
bool AllowMinDifficultyBlocks() const { return consensus.fPowAllowMinDifficultyBlocks; }
/** Make standard checks */
bool RequireStandard() const { return fRequireStandard; }
/** Make miner stop after a block is found. In RPC, don't return until nGenProcLimit blocks are generated */