Add AllowMinDifficultyBlocks chain parameter

This commit is contained in:
jtimon
2014-06-04 13:29:36 +02:00
parent d754f34e8d
commit 21913a9ac9
4 changed files with 8 additions and 4 deletions
+2
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 */