Bitcoin
Public Member Functions | Public Attributes | List of all members
COutput Class Reference

#include <wallet.h>

Public Member Functions

 COutput (const CWalletTx *txIn, int iIn, int nDepthIn, bool fSpendableIn, bool fSolvableIn, bool fSafeIn, bool use_max_sig_in=false)
 
std::string ToString () const
 
CInputCoin GetInputCoin () const
 

Public Attributes

const CWalletTxtx
 
int i
 
int nDepth
 
int nInputBytes
 
bool fSpendable
 
bool fSolvable
 
bool use_max_sig
 
bool fSafe
 

Constructor & Destructor Documentation

◆ COutput()

COutput::COutput ( const CWalletTx txIn,
int  iIn,
int  nDepthIn,
bool  fSpendableIn,
bool  fSolvableIn,
bool  fSafeIn,
bool  use_max_sig_in = false 
)
inline

Member Function Documentation

◆ GetInputCoin()

CInputCoin COutput::GetInputCoin ( ) const
inline

Member Data Documentation

◆ fSafe

bool COutput::fSafe

Whether this output is considered safe to spend. Unconfirmed transactions from outside keys and unconfirmed replacement transactions are considered unsafe and will not be used to fund new spending transactions.

◆ fSolvable

bool COutput::fSolvable

Whether we know how to spend this output, ignoring the lack of keys

◆ fSpendable

bool COutput::fSpendable

Whether we have the private keys to spend this output

◆ i

int COutput::i

◆ nDepth

int COutput::nDepth

◆ nInputBytes

int COutput::nInputBytes

Pre-computed estimated size of this output as a fully-signed input in a transaction. Can be -1 if it could not be calculated

◆ tx

const CWalletTx* COutput::tx

◆ use_max_sig

bool COutput::use_max_sig

Whether to use the maximum sized, 72 byte signature when calculating the size of the input spend. This should only be set when watch-only outputs are allowed


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