diff options
| author | Tom Harding <[email protected]> | 2014-06-25 16:21:29 -0700 |
|---|---|---|
| committer | Tom Harding <[email protected]> | 2014-06-27 07:54:21 -0700 |
| commit | 8fbf03995df9a2003be603be1a930bc3373d56e0 (patch) | |
| tree | e726d2f0b835114c4aa5089813a60ed06971f46a /src/bloom.h | |
| parent | Merge pull request #4365 from gavinandresen/relax_isstandard (diff) | |
| download | discoin-8fbf03995df9a2003be603be1a930bc3373d56e0.tar.xz discoin-8fbf03995df9a2003be603be1a930bc3373d56e0.zip | |
CBloomFilter::clear() method
Diffstat (limited to 'src/bloom.h')
| -rw-r--r-- | src/bloom.h | 2 |
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; |