Add RPCisTestNet chain parameter

This commit is contained in:
jtimon
2014-03-22 20:20:43 +01:00
parent cfeb8235fd
commit 6fc0fa63d9
4 changed files with 5 additions and 2 deletions

View File

@@ -74,6 +74,8 @@ public:
virtual bool AllowMinDifficultyBlocks() const { return false; }
/* Make standard checks */
virtual bool RequireStandard() const { return true; }
/* Make standard checks */
virtual bool RPCisTestNet() 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 */