BlockFilterIndex::LookupFilterRange

Get a range of filters between two heights on a chain.

Synopsis

Declared in <index/blockfilterindex.h>

bool
LookupFilterRange(
    int start_height,
    CBlockIndex const* stop_index,
    std::vector<BlockFilter>& filters_out) const;

Return Value

True if all filters in the range were found.

Parameters

NameDescription
start_heightHeight of the first block in the range.
stop_indexBlock index entry of the last block in the range.
filters_outSet to the filters found in the range.