diff options
| author | jtimon <[email protected]> | 2014-03-22 20:09:12 +0100 |
|---|---|---|
| committer | jtimon <[email protected]> | 2014-06-04 13:29:36 +0200 |
| commit | 21913a9ac9525547ebe18619748abb18a2ca8cdf (patch) | |
| tree | 77db605e657068ef04108c828a4da38bdc18fd34 /src/chainparams.cpp | |
| parent | Move majority constants to chainparams (diff) | |
| download | discoin-21913a9ac9525547ebe18619748abb18a2ca8cdf.tar.xz discoin-21913a9ac9525547ebe18619748abb18a2ca8cdf.zip | |
Add AllowMinDifficultyBlocks chain parameter
Diffstat (limited to 'src/chainparams.cpp')
| -rw-r--r-- | src/chainparams.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/chainparams.cpp b/src/chainparams.cpp index 86d80629e..c43de2e72 100644 --- a/src/chainparams.cpp +++ b/src/chainparams.cpp @@ -224,6 +224,8 @@ public: base58Prefixes[EXT_PUBLIC_KEY] = list_of(0x04)(0x35)(0x87)(0xCF); base58Prefixes[EXT_SECRET_KEY] = list_of(0x04)(0x35)(0x83)(0x94); } + + virtual bool AllowMinDifficultyBlocks() const { return true; } virtual Network NetworkID() const { return CChainParams::TESTNET; } }; static CTestNetParams testNetParams; |