MCPcopy Create free account
hub / github.com/ElementsProject/elements / GetBlockFilterIndex

Function GetBlockFilterIndex

src/index/blockfilterindex.cpp:454–458  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

452}
453
454BlockFilterIndex* GetBlockFilterIndex(BlockFilterType filter_type)
455{
456 auto it = g_filter_indexes.find(filter_type);
457 return it != g_filter_indexes.end() ? &it->second : nullptr;
458}
459
460void ForEachBlockFilterIndex(std::function<void (BlockFilterIndex&)> fn)
461{

Callers 6

rest_filter_headerFunction · 0.85
rest_block_filterFunction · 0.85
AppInitMainFunction · 0.85
BOOST_FIXTURE_TEST_CASEFunction · 0.85
getblockfilterFunction · 0.85

Calls 2

findMethod · 0.80
endMethod · 0.45

Tested by 1

BOOST_FIXTURE_TEST_CASEFunction · 0.68