Constructors

Synopses

Declared in <node/txdownloadman.h>

Copy‐construct a package from another.

constexpr
PackageToValidate(PackageToValidate const& other) = default;

Move‐construct a package from another.

Construct a 1‐parent‐1‐child package.

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

Parameters

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.

Created with MrDocs