#include <spend.h>
|
const CWalletTx * | tx |
|
int | i |
| Index in tx->vout. More...
|
|
int | nDepth |
| Depth in block chain. More...
|
|
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 | use_max_sig |
| Whether to use the maximum sized, 72 byte signature when calculating the size of the input spend. More...
|
|
bool | fSafe |
| Whether this output is considered safe to spend. More...
|
|
Definition at line 17 of file spend.h.
◆ COutput()
wallet::COutput::COutput |
( |
const CWallet & |
wallet, |
|
|
const CWalletTx & |
wtx, |
|
|
int |
iIn, |
|
|
int |
nDepthIn, |
|
|
bool |
fSpendableIn, |
|
|
bool |
fSolvableIn, |
|
|
bool |
fSafeIn, |
|
|
bool |
use_max_sig_in = false |
|
) |
| |
|
inline |
◆ GetInputCoin()
CInputCoin wallet::COutput::GetInputCoin |
( |
| ) |
const |
|
inline |
◆ ToString()
std::string wallet::COutput::ToString |
( |
| ) |
const |
◆ fSafe
bool wallet::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 49 of file spend.h.
◆ fSolvable
bool wallet::COutput::fSolvable |
Whether we know how to spend this output, ignoring the lack of keys.
Definition at line 39 of file spend.h.
◆ fSpendable
bool wallet::COutput::fSpendable |
Whether we have the private keys to spend this output.
Definition at line 36 of file spend.h.
Index in tx->vout.
Definition at line 23 of file spend.h.
◆ nDepth
int wallet::COutput::nDepth |
Depth in block chain.
If > 0: the tx is on chain and has this many confirmations. If = 0: the tx is waiting confirmation. If < 0: a conflicting tx is on chain and has this many confirmations.
Definition at line 30 of file spend.h.
◆ nInputBytes
int wallet::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 33 of file spend.h.
◆ tx
◆ use_max_sig
bool wallet::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
Definition at line 42 of file spend.h.
The documentation for this class was generated from the following files: