BlockFilterIndex::LookupFilterHashRange

Get a range of filter hashes between two heights on a chain.

Synopsis

Declared in <index/blockfilterindex.h>

bool
LookupFilterHashRange(
    int start_height,
    CBlockIndex const* stop_index,
    std::vector<uint256>& hashes_out) const;

Return Value

True if all filter hashes 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.
hashes_outSet to the filter hashes found in the range.