[#CMerkleBlock-2constructor-06] = xref:CMerkleBlock.adoc[CMerkleBlock]::CMerkleBlock :relfileprefix: ../ :mrdocs: Create from a CBlock, filtering transactions according to filter Note that this will call IsRelevantAndUpdate on the filter for each transaction, thus the filter will likely be modified. == Synopsis Declared in `<merkleblock.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- CMerkleBlock( xref:CBlock.adoc[CBlock] const& block, xref:CBloomFilter.adoc[CBloomFilter]& filter); ---- == Parameters [cols="1,4"] |=== | Name| Description | *block* | The block to build the merkle proof from. | *filter* | The bloom filter selecting which transactions to include; updated per transaction. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#