[#node-PackageToValidate-2constructor-00] = xref:node.adoc[node]::xref:node/PackageToValidate.adoc[PackageToValidate]::PackageToValidate :relfileprefix: ../../ :mrdocs: Constructors == Synopses Declared in `<node/txdownloadman.h>` Copy‐construct a package from another. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- constexpr xref:node/PackageToValidate/2constructor-0c.adoc[PackageToValidate](xref:node/PackageToValidate.adoc[PackageToValidate] const& other) = default; ---- [.small]#xref:node/PackageToValidate/2constructor-0c.adoc[_» more..._]# Move‐construct a package from another. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:node/PackageToValidate/2constructor-0b.adoc[PackageToValidate](xref:node/PackageToValidate.adoc[PackageToValidate]&& other); ---- [.small]#xref:node/PackageToValidate/2constructor-0b.adoc[_» more..._]# Construct a 1‐parent‐1‐child package. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- explicit xref:node/PackageToValidate/2constructor-06.adoc[PackageToValidate]( xref:CTransactionRef.adoc[CTransactionRef] const& parent, xref:CTransactionRef.adoc[CTransactionRef] const& child, xref:NodeId-08.adoc[NodeId] parent_sender, xref:NodeId-08.adoc[NodeId] child_sender); ---- [.small]#xref:node/PackageToValidate/2constructor-06.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *other* | The package to copy from. | *parent* | The parent transaction. | *child* | The child transaction spending from `parent.` | *parent_sender* | The peer that sent the parent. | *child_sender* | The peer that sent the child. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#