MCPcopy Create free account
hub / github.com/bitcoin/bitcoin / MatchAny

Method MatchAny

src/blockfilter.cpp:142–146  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140}
141
142bool GCSFilter::MatchAny(const ElementSet& elements) const
143{
144 const std::vector<uint64_t> queries = BuildHashedSet(elements);
145 return MatchInternal(queries.data(), queries.size());
146}
147
148const std::string& BlockFilterTypeName(BlockFilterType filter_type)
149{

Callers 4

BOOST_AUTO_TEST_CASEFunction · 0.80
FUZZ_TARGETFunction · 0.80
scanblocksFunction · 0.80
blockFilterMatchesAnyMethod · 0.80

Calls 3

BuildHashedSetFunction · 0.85
dataMethod · 0.45
sizeMethod · 0.45

Tested by 2

BOOST_AUTO_TEST_CASEFunction · 0.64
FUZZ_TARGETFunction · 0.64