5 #ifndef BITCOIN_WALLET_SPEND_H 6 #define BITCOIN_WALLET_SPEND_H 46 COutput(
const CWalletTx *txIn,
int iIn,
int nDepthIn,
bool fSpendableIn,
bool fSolvableIn,
bool fSafeIn,
bool use_max_sig_in =
false)
64 #endif // BITCOIN_WALLET_SPEND_H
bool fSolvable
Whether we know how to spend this output, ignoring the lack of keys.
bool use_max_sig
Whether to use the maximum sized, 72 byte signature when calculating the size of the input spend...
int nInputBytes
Pre-computed estimated size of this output as a fully-signed input in a transaction.
bool fSpendable
Whether we have the private keys to spend this output.
COutput(const CWalletTx *txIn, int iIn, int nDepthIn, bool fSpendableIn, bool fSolvableIn, bool fSafeIn, bool use_max_sig_in=false)
int nDepth
Depth in block chain.
bool fSafe
Whether this output is considered safe to spend.
A transaction with a bunch of additional info that only the owner cares about.
CInputCoin GetInputCoin() const
int GetSpendSize(unsigned int out, bool use_max_sig=false) const
Get the marginal bytes if spending the specified output from this transaction.
std::string ToString() const