diff options
| author | Peter Todd <[email protected]> | 2015-07-17 06:42:43 -0400 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2015-07-27 18:37:18 +0200 |
| commit | bbe41088c61f2ad328766e851ffe6169aa80935a (patch) | |
| tree | c8b48b4f462dccfd11b31d3270b5f9e7123ec40c /src/bloom.h | |
| parent | Merge pull request #6077 (diff) | |
| download | discoin-bbe41088c61f2ad328766e851ffe6169aa80935a.tar.xz discoin-bbe41088c61f2ad328766e851ffe6169aa80935a.zip | |
Add uint256 support to CRollingBloomFilter
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 bb17f59c8..0daa3728e 100644 --- a/src/bloom.h +++ b/src/bloom.h @@ -114,7 +114,9 @@ public: CRollingBloomFilter(unsigned int nElements, double nFPRate, unsigned int nTweak); void insert(const std::vector<unsigned char>& vKey); + void insert(const uint256& hash); bool contains(const std::vector<unsigned char>& vKey) const; + bool contains(const uint256& hash) const; void clear(); |