diff options
Diffstat (limited to 'src/chainparams.cpp')
-rw-r--r-- | src/chainparams.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 8a00da0bb5..31c67715c8 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -115,6 +115,7 @@ public: fAllowMinDifficultyBlocks = false; fRequireStandard = true; fMineBlocksOnDemand = false; + fSkipProofOfWorkCheck = false; } }; static CMainParams mainParams; @@ -231,11 +232,7 @@ public: fDefaultCheckMemPool = true; fAllowMinDifficultyBlocks = false; fMineBlocksOnDemand = true; - fSkipProofOfWorkCheck = false; } - virtual bool SkipProofOfWorkCheck() const { return fSkipProofOfWorkCheck; } -protected: - bool fSkipProofOfWorkCheck; public: // Published setters to allow changing values in unit test cases virtual void setSubsidyHalvingInterval(int anSubsidyHalvingInterval) { nSubsidyHalvingInterval=anSubsidyHalvingInterval; } |