Merge pull request #6896

e9e6163 Make -checkmempool=1 not fail through int32 overflow (Pieter Wuille)
This commit is contained in:
Wladimir J. van der Laan 2015-10-31 00:38:13 +01:00
commit d482c0a7b2
No known key found for this signature in database
GPG key ID: 74810B012346C9A6

View file

@ -360,7 +360,7 @@ public:
* check does nothing.
*/
void check(const CCoinsViewCache *pcoins) const;
void setSanityCheck(double dFrequency = 1.0) { nCheckFrequency = dFrequency * 4294967296.0; }
void setSanityCheck(double dFrequency = 1.0) { nCheckFrequency = dFrequency * 4294967295.0; }
// addUnchecked must updated state for all ancestors of a given transaction,
// to track size/count of descendant transactions. First version of