Bitcoin ABC 0.30.3
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
OutputGroup Struct Reference

#include <coinselection.h>

Collaboration diagram for OutputGroup:
[legend]

Public Member Functions

 OutputGroup ()
 
 OutputGroup (const CFeeRate &effective_feerate, const CFeeRate &long_term_feerate)
 
void Insert (const CInputCoin &output, int depth, bool from_me, bool positive_only)
 
bool EligibleForSpending (const CoinEligibilityFilter &eligibility_filter) const
 

Public Attributes

std::vector< CInputCoinm_outputs
 
bool m_from_me {true}
 
Amount m_value = Amount::zero()
 
int m_depth {999}
 
Amount effective_value = Amount::zero()
 
Amount fee = Amount::zero()
 
CFeeRate m_effective_feerate {Amount::zero()}
 
Amount long_term_fee = Amount::zero()
 
CFeeRate m_long_term_feerate {Amount::zero()}
 

Detailed Description

Definition at line 81 of file coinselection.h.

Constructor & Destructor Documentation

◆ OutputGroup() [1/2]

OutputGroup::OutputGroup ( )
inline

Definition at line 92 of file coinselection.h.

◆ OutputGroup() [2/2]

OutputGroup::OutputGroup ( const CFeeRate effective_feerate,
const CFeeRate long_term_feerate 
)
inline

Definition at line 93 of file coinselection.h.

Member Function Documentation

◆ EligibleForSpending()

bool OutputGroup::EligibleForSpending ( const CoinEligibilityFilter eligibility_filter) const

Definition at line 384 of file coinselection.cpp.

Here is the caller graph for this function:

◆ Insert()

void OutputGroup::Insert ( const CInputCoin output,
int  depth,
bool  from_me,
bool  positive_only 
)

Definition at line 351 of file coinselection.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ effective_value

Amount OutputGroup::effective_value = Amount::zero()

Definition at line 86 of file coinselection.h.

◆ fee

Amount OutputGroup::fee = Amount::zero()

Definition at line 87 of file coinselection.h.

◆ long_term_fee

Amount OutputGroup::long_term_fee = Amount::zero()

Definition at line 89 of file coinselection.h.

◆ m_depth

int OutputGroup::m_depth {999}

Definition at line 85 of file coinselection.h.

◆ m_effective_feerate

CFeeRate OutputGroup::m_effective_feerate {Amount::zero()}

Definition at line 88 of file coinselection.h.

◆ m_from_me

bool OutputGroup::m_from_me {true}

Definition at line 83 of file coinselection.h.

◆ m_long_term_feerate

CFeeRate OutputGroup::m_long_term_feerate {Amount::zero()}

Definition at line 90 of file coinselection.h.

◆ m_outputs

std::vector<CInputCoin> OutputGroup::m_outputs

Definition at line 82 of file coinselection.h.

◆ m_value

Amount OutputGroup::m_value = Amount::zero()

Definition at line 84 of file coinselection.h.


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