node::PackageToValidate::PackageToValidate

Construct a 1-parent-1-child package.

Synopsis

Declared in <node/txdownloadman.h>

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

Parameters

NameDescription
parentThe parent transaction.
childThe child transaction spending from parent.
parent_senderThe peer that sent the parent.
child_senderThe peer that sent the child.