diff options
author | jtimon <jtimon@monetize.io> | 2014-03-22 19:52:26 +0100 |
---|---|---|
committer | jtimon <jtimon@monetize.io> | 2014-06-04 13:29:36 +0200 |
commit | d754f34e8d470d5d89e2bc31ff1ab60ae5889266 (patch) | |
tree | facbfeec67bdcc6ac520f108216efe2fd3d84815 /src/main.h | |
parent | 8d26721498eb608b1ee5fd4d10083739a77b5905 (diff) |
Move majority constants to chainparams
Diffstat (limited to 'src/main.h')
-rw-r--r-- | src/main.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/main.h b/src/main.h index 42cf4a0861..58515b44b9 100644 --- a/src/main.h +++ b/src/main.h @@ -848,10 +848,11 @@ public: /** * Returns true if there are nRequired or more blocks of minVersion or above - * in the last nToCheck blocks, starting at pstart and going backwards. + * in the last Params().ToCheckBlockUpgradeMajority() blocks, starting at pstart + * and going backwards. */ static bool IsSuperMajority(int minVersion, const CBlockIndex* pstart, - unsigned int nRequired, unsigned int nToCheck); + unsigned int nRequired); std::string ToString() const { |