node::PackageToValidate::PackageToValidate

Constructors

Synopses

Declared in <node/txdownloadman.h>

Copy-construct a package from another.

constexpr
PackageToValidate(PackageToValidate const& other) = default;
» more...

Move-construct a package from another.

PackageToValidate(PackageToValidate&& other);
» more...

Construct a 1-parent-1-child package.

explicit
PackageToValidate(
    CTransactionRef const& parent,
    CTransactionRef const& child,
    NodeId parent_sender,
    NodeId child_sender);
» more...

Parameters

NameDescription
otherThe package to copy from.
parentThe parent transaction.
childThe child transaction spending from parent.
parent_senderThe peer that sent the parent.
child_senderThe peer that sent the child.