aboutsummaryrefslogtreecommitdiff
path: root/src/bloom.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2014-07-31 09:20:04 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2014-07-31 09:25:20 +0200
commit2870014f3a1fee5952110b349658152e1dc82de9 (patch)
tree1895cb4b1e7808b16f261c45799e8350e6a67f8a /src/bloom.h
parentc7614f16d6d123ef182180a96fe43449e73db0b0 (diff)
parent9c347313f7f504d602a9d744f1ad7aee4e3d6f9a (diff)
downloadbitcoin-2870014f3a1fee5952110b349658152e1dc82de9.tar.xz
Merge pull request #4568
9c34731 CBloomFilter::clear() method (Tom Harding)
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 956bead87f..d0caf9e9fa 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;