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

Method BloomFilter

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

Source from the content-addressed store, hash-verified

78}
79
80BloomFilter::BloomFilter(const std::string &path_, int64_t maxItems, double fpRate) : path(path_), impData(loadData(metaPath(), maxItems, fpRate)), store(storePath().str(), impData.length) {}
81
82BloomFilter::~BloomFilter() {
83 std::ofstream file(metaPath().str(), std::ios::binary);

Callers

nothing calls this directly

Calls 1

loadDataFunction · 0.85

Tested by

no test coverage detected