Bitcoin Core  0.15.99
P2P Digital Currency
Public Member Functions | Public Attributes | List of all members
COutput Class Reference

#include <wallet.h>

Collaboration diagram for COutput:
[legend]

Public Member Functions

 COutput (const CWalletTx *txIn, int iIn, int nDepthIn, bool fSpendableIn, bool fSolvableIn, bool fSafeIn)
 
std::string ToString () const
 

Public Attributes

const CWalletTxtx
 
int i
 
int nDepth
 
int nInputBytes
 Pre-computed estimated size of this output as a fully-signed input in a transaction. More...
 
bool fSpendable
 Whether we have the private keys to spend this output. More...
 
bool fSolvable
 Whether we know how to spend this output, ignoring the lack of keys. More...
 
bool fSafe
 Whether this output is considered safe to spend. More...
 

Detailed Description

Definition at line 479 of file wallet.h.

Constructor & Destructor Documentation

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

Definition at line 502 of file wallet.h.

Here is the call graph for this function:

Here is the caller graph for this function:

Member Data Documentation

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.

Definition at line 500 of file wallet.h.

bool COutput::fSolvable

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

Definition at line 493 of file wallet.h.

bool COutput::fSpendable

Whether we have the private keys to spend this output.

Definition at line 490 of file wallet.h.

int COutput::i

Definition at line 483 of file wallet.h.

int COutput::nDepth

Definition at line 484 of file wallet.h.

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

Definition at line 487 of file wallet.h.

const CWalletTx* COutput::tx

Definition at line 482 of file wallet.h.


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