Bitcoin ABC 0.26.3
P2P Digital Currency
|
Coin Control Features. More...
#include <coincontrol.h>
Public Member Functions | |
CCoinControl () | |
void | SetNull () |
bool | HasSelected () const |
bool | IsSelected (const COutPoint &output) const |
void | Select (const COutPoint &output) |
void | UnSelect (const COutPoint &output) |
void | UnSelectAll () |
void | ListSelected (std::vector< COutPoint > &vOutpoints) const |
Public Attributes | |
CTxDestination | destChange |
std::optional< OutputType > | m_change_type |
Override the default change type if set, ignored if destChange is set. | |
bool | m_add_inputs |
If false, only selected inputs are used. | |
bool | m_include_unsafe_inputs = false |
If false, only safe inputs will be used (confirmed or self transfers) | |
bool | fAllowOtherInputs |
If false, allows unselected inputs, but requires all selected inputs be used. | |
bool | fAllowWatchOnly |
Includes watch only addresses which are solvable. | |
bool | fOverrideFeeRate |
Override automatic min/max checks on fee, m_feerate must be set if true. | |
std::optional< CFeeRate > | m_feerate |
Override the wallet's m_pay_tx_fee if set. | |
std::optional< unsigned int > | m_confirm_target |
Override the default confirmation target if set. | |
bool | m_avoid_partial_spends |
Avoid partial use of funds sent to a given address. | |
bool | m_avoid_address_reuse |
Forbids inclusion of dirty (previously used) addresses. | |
int | m_min_depth = DEFAULT_MIN_DEPTH |
Minimum chain depth value for coin availability. | |
int | m_max_depth = DEFAULT_MAX_DEPTH |
Maximum chain depth value for coin availability. | |
Private Attributes | |
std::set< COutPoint > | setSelected |
Coin Control Features.
Definition at line 21 of file coincontrol.h.
|
inline |
|
inline |
Definition at line 54 of file coincontrol.h.
Definition at line 66 of file coincontrol.h.
void CCoinControl::SetNull | ( | ) |
Definition at line 9 of file coincontrol.cpp.
|
inline |
CTxDestination CCoinControl::destChange |
Definition at line 23 of file coincontrol.h.
bool CCoinControl::fAllowOtherInputs |
If false, allows unselected inputs, but requires all selected inputs be used.
Definition at line 32 of file coincontrol.h.
bool CCoinControl::fAllowWatchOnly |
Includes watch only addresses which are solvable.
Definition at line 34 of file coincontrol.h.
bool CCoinControl::fOverrideFeeRate |
Override automatic min/max checks on fee, m_feerate must be set if true.
Definition at line 36 of file coincontrol.h.
bool CCoinControl::m_add_inputs |
If false, only selected inputs are used.
Definition at line 27 of file coincontrol.h.
bool CCoinControl::m_avoid_address_reuse |
Forbids inclusion of dirty (previously used) addresses.
Definition at line 44 of file coincontrol.h.
bool CCoinControl::m_avoid_partial_spends |
Avoid partial use of funds sent to a given address.
Definition at line 42 of file coincontrol.h.
std::optional<OutputType> CCoinControl::m_change_type |
Override the default change type if set, ignored if destChange is set.
Definition at line 25 of file coincontrol.h.
Override the default confirmation target if set.
Definition at line 40 of file coincontrol.h.
std::optional<CFeeRate> CCoinControl::m_feerate |
Override the wallet's m_pay_tx_fee if set.
Definition at line 38 of file coincontrol.h.
If false, only safe inputs will be used (confirmed or self transfers)
Definition at line 29 of file coincontrol.h.
int CCoinControl::m_max_depth = DEFAULT_MAX_DEPTH |
Maximum chain depth value for coin availability.
Definition at line 48 of file coincontrol.h.
int CCoinControl::m_min_depth = DEFAULT_MIN_DEPTH |
Minimum chain depth value for coin availability.
Definition at line 46 of file coincontrol.h.
|
private |
Definition at line 71 of file coincontrol.h.