mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-06 10:42:46 +01:00
Add uint256 support to CRollingBloomFilter
This commit is contained in:
committed by
Pieter Wuille
parent
08e9c57ba2
commit
bbe41088c6
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user