MCPcopy Create free account
hub / github.com/WaykiChain/WaykiChain / IsWithinSizeConstraints

Method IsWithinSizeConstraints

src/commons/bloom.cpp:68–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68bool CBloomFilter::IsWithinSizeConstraints() const {
69 return vData.size() <= MAX_BLOOM_FILTER_SIZE && nHashFuncs <= MAX_HASH_FUNCS;
70}
71
72bool CBloomFilter::IsRelevantAndUpdate(CBaseTx* pBaseTx, const uint256& hash) {
73 // bool fFound = false;

Callers 1

ProcessFilterLoadMessageFunction · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected