aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.h
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-03-22 20:09:12 +0100
committerjtimon <jtimon@monetize.io>2014-06-04 13:29:36 +0200
commit21913a9ac9525547ebe18619748abb18a2ca8cdf (patch)
tree77db605e657068ef04108c828a4da38bdc18fd34 /src/chainparams.h
parentd754f34e8d470d5d89e2bc31ff1ab60ae5889266 (diff)
Add AllowMinDifficultyBlocks chain parameter
Diffstat (limited to 'src/chainparams.h')
-rw-r--r--src/chainparams.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chainparams.h b/src/chainparams.h
index f400907d73..e1ce86550c 100644
--- a/src/chainparams.h
+++ b/src/chainparams.h
@@ -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 */