mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-15 12:51:00 +02:00
parent
98e84aae7a
commit
8f3f94a470
3 changed files with 0 additions and 13 deletions
|
|
@ -94,13 +94,6 @@ bool CBloomFilter::contains(const uint256& hash) const
|
|||
return contains(data);
|
||||
}
|
||||
|
||||
void CBloomFilter::clear()
|
||||
{
|
||||
vData.assign(vData.size(),0);
|
||||
isFull = false;
|
||||
isEmpty = true;
|
||||
}
|
||||
|
||||
bool CBloomFilter::IsWithinSizeConstraints() const
|
||||
{
|
||||
return vData.size() <= MAX_BLOOM_FILTER_SIZE && nHashFuncs <= MAX_HASH_FUNCS;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue