[#BlockFilter-2constructor-025]
= xref:BlockFilter.adoc[BlockFilter]::BlockFilter
:relfileprefix: ../
:mrdocs:

Reconstruct a BlockFilter from parts&period;

== Synopsis

Declared in `&lt;blockfilter&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
BlockFilter(
    xref:BlockFilterType.adoc[BlockFilterType] filter&lowbar;type,
    xref:uint256.adoc[uint256] const& block&lowbar;hash,
    std::vector&lt;unsigned char&gt; filter,
    bool skip&lowbar;decode&lowbar;check);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *filter&lowbar;type*
| The type of filter to reconstruct&period;
| *block&lowbar;hash*
| Hash of the block this filter is for&period;
| *filter*
| The serialized filter contents&period;
| *skip&lowbar;decode&lowbar;check*
| If true, skip validating the encoded filter&period;
|===


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