Bitcoin Core  0.15.99
P2P Digital Currency
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
 
CAmount effective_value
 
int m_input_bytes {-1}
 Pre-computed estimated size of this output as a fully-signed input in a transaction. More...
 

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 31 of file coinselection.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 47 of file coinselection.h.

◆ operator<()

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

Definition at line 43 of file coinselection.h.

◆ operator==()

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

Definition at line 51 of file coinselection.h.

Member Data Documentation

◆ effective_value

CAmount CInputCoin::effective_value

Definition at line 38 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 41 of file coinselection.h.

◆ outpoint

COutPoint CInputCoin::outpoint

Definition at line 36 of file coinselection.h.

◆ txout

CTxOut CInputCoin::txout

Definition at line 37 of file coinselection.h.


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