Add AllowMinDifficultyBlocks chain parameter

This commit is contained in:
jtimon
2014-03-22 20:09:12 +01:00
parent d754f34e8d
commit 21913a9ac9
4 changed files with 8 additions and 4 deletions

View File

@@ -70,6 +70,8 @@ public:
virtual bool MiningRequiresPeers() const { return true; }
/* Default value for -checkmempool argument */
virtual bool DefaultCheckMemPool() const { return false; }
/* Allow mining of a min-difficulty block */
virtual bool AllowMinDifficultyBlocks() const { return false; }
const string& DataDir() const { return strDataDir; }
/* Make miner stop after a block is found. In RPC, don't return
* until nGenProcLimit blocks are generated */