Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Public Attributes | Friends | List of all members
cluster_linearize::DepGraph< SetType >::Entry Struct Reference

Information about a single transaction. More...

Collaboration diagram for cluster_linearize::DepGraph< SetType >::Entry:
[legend]

Public Member Functions

 Entry () noexcept=default
 Construct an empty entry. More...
 
 Entry (const FeeFrac &f, const SetType &a, const SetType &d) noexcept
 Construct an entry with a given feerate, ancestor set, descendant set. More...
 

Public Attributes

FeeFrac feerate
 Fee and size of transaction itself. More...
 
SetType ancestors
 All ancestors of the transaction (including itself). More...
 
SetType descendants
 All descendants of the transaction (including itself). More...
 

Friends

bool operator== (const Entry &, const Entry &) noexcept=default
 Equality operator (primarily for for testing purposes). More...
 

Detailed Description

template<typename SetType>
struct cluster_linearize::DepGraph< SetType >::Entry

Information about a single transaction.

Definition at line 31 of file cluster_linearize.h.

Constructor & Destructor Documentation

◆ Entry() [1/2]

template<typename SetType >
cluster_linearize::DepGraph< SetType >::Entry::Entry ( )
defaultnoexcept

Construct an empty entry.

◆ Entry() [2/2]

template<typename SetType >
cluster_linearize::DepGraph< SetType >::Entry::Entry ( const FeeFrac f,
const SetType &  a,
const SetType &  d 
)
inlinenoexcept

Construct an entry with a given feerate, ancestor set, descendant set.

Definition at line 46 of file cluster_linearize.h.

Friends And Related Function Documentation

◆ operator==

template<typename SetType >
bool operator== ( const Entry ,
const Entry  
)
friend

Equality operator (primarily for for testing purposes).

Member Data Documentation

◆ ancestors

template<typename SetType >
SetType cluster_linearize::DepGraph< SetType >::Entry::ancestors

All ancestors of the transaction (including itself).

Definition at line 36 of file cluster_linearize.h.

◆ descendants

template<typename SetType >
SetType cluster_linearize::DepGraph< SetType >::Entry::descendants

All descendants of the transaction (including itself).

Definition at line 38 of file cluster_linearize.h.

◆ feerate

template<typename SetType >
FeeFrac cluster_linearize::DepGraph< SetType >::Entry::feerate

Fee and size of transaction itself.

Definition at line 34 of file cluster_linearize.h.


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