aboutsummaryrefslogtreecommitdiff
path: root/src/bloom.h
diff options
context:
space:
mode:
authorTom Harding <[email protected]>2014-07-21 11:50:07 -0700
committerTom Harding <[email protected]>2014-07-21 11:50:07 -0700
commit9c347313f7f504d602a9d744f1ad7aee4e3d6f9a (patch)
treed552cdf51b9cf2ccad1e92e594eb08539473f104 /src/bloom.h
parentMerge pull request #4557 (diff)
downloaddiscoin-9c347313f7f504d602a9d744f1ad7aee4e3d6f9a.tar.xz
discoin-9c347313f7f504d602a9d744f1ad7aee4e3d6f9a.zip
CBloomFilter::clear() method
Diffstat (limited to 'src/bloom.h')
-rw-r--r--src/bloom.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/bloom.h b/src/bloom.h
index 956bead87..d0caf9e9f 100644
--- a/src/bloom.h
+++ b/src/bloom.h
@@ -78,6 +78,8 @@ public:
bool contains(const COutPoint& outpoint) const;
bool contains(const uint256& hash) const;
+ void clear();
+
// True if the size is <= MAX_BLOOM_FILTER_SIZE and the number of hash functions is <= MAX_HASH_FUNCS
// (catch a filter which was just deserialized which was too big)
bool IsWithinSizeConstraints() const;