[#node-PackageToValidate-2constructor-06]
= xref:node.adoc[node]::xref:node/PackageToValidate.adoc[PackageToValidate]::PackageToValidate
:relfileprefix: ../../
:mrdocs:

Construct a 1&hyphen;parent&hyphen;1&hyphen;child package&period;

== Synopsis

Declared in `&lt;node&sol;txdownloadman&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
PackageToValidate(
    xref:CTransactionRef.adoc[CTransactionRef] const& parent,
    xref:CTransactionRef.adoc[CTransactionRef] const& child,
    xref:NodeId-08.adoc[NodeId] parent&lowbar;sender,
    xref:NodeId-08.adoc[NodeId] child&lowbar;sender);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *parent*
| The parent transaction&period;
| *child*
| The child transaction spending from `parent&period;`
| *parent&lowbar;sender*
| The peer that sent the parent&period;
| *child&lowbar;sender*
| The peer that sent the child&period;
|===


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