[#CMerkleBlock-2constructor-0a]
= xref:CMerkleBlock.adoc[CMerkleBlock]::CMerkleBlock
:relfileprefix: ../
:mrdocs:

Create from a CBlock, matching the txids in the set&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
CMerkleBlock(
    xref:CBlock.adoc[CBlock] const& block,
    std::set&lt;Txid&gt; const& txids);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *block*
| The block to build the merkle proof from&period;
| *txids*
| The set of transaction ids to include in the proof&period;
|===


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