|
|
@ -115,6 +115,7 @@ public: |
|
|
|
fAllowMinDifficultyBlocks = false; |
|
|
|
fAllowMinDifficultyBlocks = false; |
|
|
|
fRequireStandard = true; |
|
|
|
fRequireStandard = true; |
|
|
|
fMineBlocksOnDemand = false; |
|
|
|
fMineBlocksOnDemand = false; |
|
|
|
|
|
|
|
fSkipProofOfWorkCheck = false; |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
static CMainParams mainParams; |
|
|
|
static CMainParams mainParams; |
|
|
@ -231,11 +232,7 @@ public: |
|
|
|
fDefaultCheckMemPool = true; |
|
|
|
fDefaultCheckMemPool = true; |
|
|
|
fAllowMinDifficultyBlocks = false; |
|
|
|
fAllowMinDifficultyBlocks = false; |
|
|
|
fMineBlocksOnDemand = true; |
|
|
|
fMineBlocksOnDemand = true; |
|
|
|
fSkipProofOfWorkCheck = false; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
virtual bool SkipProofOfWorkCheck() const { return fSkipProofOfWorkCheck; } |
|
|
|
|
|
|
|
protected: |
|
|
|
|
|
|
|
bool fSkipProofOfWorkCheck; |
|
|
|
|
|
|
|
public: |
|
|
|
public: |
|
|
|
// Published setters to allow changing values in unit test cases
|
|
|
|
// Published setters to allow changing values in unit test cases
|
|
|
|
virtual void setSubsidyHalvingInterval(int anSubsidyHalvingInterval) { nSubsidyHalvingInterval=anSubsidyHalvingInterval; } |
|
|
|
virtual void setSubsidyHalvingInterval(int anSubsidyHalvingInterval) { nSubsidyHalvingInterval=anSubsidyHalvingInterval; } |
|
|
|