[#CPartialMerkleTree-2constructor-04]
= xref:CPartialMerkleTree.adoc[CPartialMerkleTree]::CPartialMerkleTree
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Construct an empty partial merkle tree&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CPartialMerkleTree/2constructor-0c.adoc[CPartialMerkleTree]();
----

[.small]#xref:CPartialMerkleTree/2constructor-0c.adoc[_» more&period;&period;&period;_]#

Construct a partial merkle tree from a list of transaction ids, and a mask that selects a subset of them


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:CPartialMerkleTree/2constructor-02.adoc[CPartialMerkleTree](
    std::vector&lt;Txid&gt; const& vTxid,
    std::vector&lt;bool&gt; const& vMatch);
----

[.small]#xref:CPartialMerkleTree/2constructor-02.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *vTxid*
| The full list of transaction ids for the block&period;
| *vMatch*
| The per&hyphen;transaction mask selecting which txids the proof should include&period;
|===


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