[#BlockFilter-2constructor-04] = xref:BlockFilter.adoc[BlockFilter]::BlockFilter :relfileprefix: ../ :mrdocs: Construct a new BlockFilter of the specified type from a block. == Synopsis Declared in `<blockfilter.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- BlockFilter( xref:BlockFilterType.adoc[BlockFilterType] filter_type, xref:CBlock.adoc[CBlock] const& block, xref:CBlockUndo.adoc[CBlockUndo] const& block_undo); ---- == Parameters [cols="1,4"] |=== | Name| Description | *filter_type* | The type of filter to build. | *block* | The block to build the filter from. | *block_undo* | Undo data for the block, providing spent outputs. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#