#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 16 of file spend.h.
◆ COutput()
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()
◆ ToString()
std::string COutput::ToString |
( |
| ) |
const |
◆ 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 48 of file spend.h.
◆ fSolvable
Whether we know how to spend this output, ignoring the lack of keys.
Definition at line 38 of file spend.h.
◆ fSpendable
Whether we have the private keys to spend this output.
Definition at line 35 of file spend.h.
Index in tx->vout.
Definition at line 22 of file spend.h.
◆ 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 29 of file spend.h.
◆ 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 32 of file spend.h.
◆ 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
Definition at line 41 of file spend.h.
The documentation for this class was generated from the following files: