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

Get a single filter by block&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
bool
LookupFilter(
    xref:CBlockIndex.adoc[CBlockIndex] const* block&lowbar;index,
    xref:BlockFilter.adoc[BlockFilter]& filter&lowbar;out) const;
----

== Return Value

True if the filter was found&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block&lowbar;index*
| Block to look up the filter for&period;
| *filter&lowbar;out*
| Set to the filter that was found&period;
|===


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