MCPcopy Create free account
hub / github.com/citp/BlockSci / BloomFilterData

Method BloomFilterData

tools/parser/bloom_filter.cpp:66–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66BloomFilterData::BloomFilterData() : maxItems(0), fpRate(1), m_numHashes(0), length(0), addedCount(0) {}
67BloomFilterData::BloomFilterData(int64_t maxItems_, double fpRate_) : maxItems(maxItems_), fpRate(fpRate_), m_numHashes(calculateHashes(fpRate_)), length(calculateLength(maxItems_, fpRate_)), addedCount(0) {}
68
69

Callers

nothing calls this directly

Calls 2

calculateHashesFunction · 0.85
calculateLengthFunction · 0.85

Tested by

no test coverage detected