Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CInputCoin Class Reference

#include <coinselection.h>

Collaboration diagram for CInputCoin:
[legend]

Public Member Functions

 CInputCoin (const CTransactionRef &tx, unsigned int i)
 
 CInputCoin (const CTransactionRef &tx, unsigned int i, int input_bytes)
 
bool operator< (const CInputCoin &rhs) const
 
bool operator!= (const CInputCoin &rhs) const
 
bool operator== (const CInputCoin &rhs) const
 

Public Attributes

COutPoint outpoint
 
CTxOut txout
 
Amount effective_value
 
Amount m_fee {Amount::zero()}
 
Amount m_long_term_fee {Amount::zero()}
 
int m_input_bytes {-1}
 Pre-computed estimated size of this output as a fully-signed input in a transaction.
 

Detailed Description

Definition at line 17 of file coinselection.h.

Constructor & Destructor Documentation

◆ CInputCoin() [1/2]

CInputCoin::CInputCoin ( const CTransactionRef tx,
unsigned int  i 
)
inline

Definition at line 19 of file coinselection.h.

◆ CInputCoin() [2/2]

CInputCoin::CInputCoin ( const CTransactionRef tx,
unsigned int  i,
int  input_bytes 
)
inline

Definition at line 32 of file coinselection.h.

Here is the call graph for this function:

Member Function Documentation

◆ operator!=()

bool CInputCoin::operator!= ( const CInputCoin rhs) const
inline

Definition at line 53 of file coinselection.h.

Here is the call graph for this function:

◆ operator<()

bool CInputCoin::operator< ( const CInputCoin rhs) const
inline

Definition at line 49 of file coinselection.h.

Here is the call graph for this function:

◆ operator==()

bool CInputCoin::operator== ( const CInputCoin rhs) const
inline

Definition at line 57 of file coinselection.h.

Here is the call graph for this function:

Member Data Documentation

◆ effective_value

Amount CInputCoin::effective_value

Definition at line 39 of file coinselection.h.

◆ m_fee

Amount CInputCoin::m_fee {Amount::zero()}

Definition at line 40 of file coinselection.h.

◆ m_input_bytes

int CInputCoin::m_input_bytes {-1}

Pre-computed estimated size of this output as a fully-signed input in a transaction.

Can be -1 if it could not be calculated.

Definition at line 47 of file coinselection.h.

◆ m_long_term_fee

Amount CInputCoin::m_long_term_fee {Amount::zero()}

Definition at line 41 of file coinselection.h.

◆ outpoint

COutPoint CInputCoin::outpoint

Definition at line 37 of file coinselection.h.

◆ txout

CTxOut CInputCoin::txout

Definition at line 38 of file coinselection.h.


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