[#BlockFilterIndex-LookupFilterHashRange]
= xref:BlockFilterIndex.adoc[BlockFilterIndex]::LookupFilterHashRange
:relfileprefix: ../
:mrdocs:

Get a range of filter hashes between two heights on a chain&period;

== Synopsis

Declared in `&lt;index&sol;blockfilterindex&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
LookupFilterHashRange(
    int start&lowbar;height,
    xref:CBlockIndex.adoc[CBlockIndex] const* stop&lowbar;index,
    std::vector&lt;uint256&gt;& hashes&lowbar;out) const;
----

== Return Value

True if all filter hashes in the range were found&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *start&lowbar;height*
| Height of the first block in the range&period;
| *stop&lowbar;index*
| Block index entry of the last block in the range&period;
| *hashes&lowbar;out*
| Set to the filter hashes found in the range&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
