aboutsummaryrefslogtreecommitdiff
path: root/src/chainparams.cpp
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-03-09 13:36:55 -0700
committerjtimon <jtimon@monetize.io>2014-06-04 13:29:35 +0200
commitbfa9a1a638d69ec3edc2473eef5f2eee43af5a9d (patch)
tree49126ae86d7e57ba660ee8c769c603b7f624d71a /src/chainparams.cpp
parent1712adbe0b084b6907b82db350a51ab44f8c3117 (diff)
Add MineBlocksOnDemand chain parameter
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r--src/chainparams.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp
index ff104e7c84..d7205fa5cb 100644
--- a/src/chainparams.cpp
+++ b/src/chainparams.cpp
@@ -247,6 +247,7 @@ public:
virtual bool RequireRPCPassword() const { return false; }
virtual bool MiningRequiresPeers() const { return false; }
+ virtual bool MineBlocksOnDemand() const { return true; }
virtual Network NetworkID() const { return CChainParams::REGTEST; }
};
static CRegTestParams regTestParams;