Browse Source

Merge pull request #6896

e9e6163 Make -checkmempool=1 not fail through int32 overflow (Pieter Wuille)
0.13
Wladimir J. van der Laan 9 years ago
parent
commit
d482c0a7b2
No known key found for this signature in database
GPG Key ID: 74810B012346C9A6
  1. 2
      src/txmempool.h

2
src/txmempool.h

@ -360,7 +360,7 @@ public:
* check does nothing. * check does nothing.
*/ */
void check(const CCoinsViewCache *pcoins) const; 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, // addUnchecked must updated state for all ancestors of a given transaction,
// to track size/count of descendant transactions. First version of // to track size/count of descendant transactions. First version of

Loading…
Cancel
Save