Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
node::PackageToValidate Struct Reference

#include <txdownloadman.h>

Public Member Functions

 PackageToValidate (const CTransactionRef &parent, const CTransactionRef &child, NodeId parent_sender, NodeId child_sender)
 Construct a 1-parent-1-child package. More...
 
 PackageToValidate (PackageToValidate &&other)
 
 PackageToValidate (const PackageToValidate &other)=default
 
PackageToValidateoperator= (PackageToValidate &&other)
 
std::string ToString () const
 

Public Attributes

Package m_txns
 
std::vector< NodeIdm_senders
 

Detailed Description

Definition at line 57 of file txdownloadman.h.

Constructor & Destructor Documentation

◆ PackageToValidate() [1/3]

node::PackageToValidate::PackageToValidate ( const CTransactionRef parent,
const CTransactionRef child,
NodeId  parent_sender,
NodeId  child_sender 
)
inlineexplicit

Construct a 1-parent-1-child package.

Definition at line 61 of file txdownloadman.h.

◆ PackageToValidate() [2/3]

node::PackageToValidate::PackageToValidate ( PackageToValidate &&  other)
inline

Definition at line 70 of file txdownloadman.h.

◆ PackageToValidate() [3/3]

node::PackageToValidate::PackageToValidate ( const PackageToValidate other)
default

Member Function Documentation

◆ operator=()

PackageToValidate & node::PackageToValidate::operator= ( PackageToValidate &&  other)
inline

Definition at line 75 of file txdownloadman.h.

◆ ToString()

std::string node::PackageToValidate::ToString ( ) const
inline

Definition at line 81 of file txdownloadman.h.

Member Data Documentation

◆ m_senders

std::vector<NodeId> node::PackageToValidate::m_senders

Definition at line 59 of file txdownloadman.h.

◆ m_txns

Package node::PackageToValidate::m_txns

Definition at line 58 of file txdownloadman.h.


The documentation for this struct was generated from the following file: