![]() |
Bitcoin Core
22.0.0
P2P Digital Currency
|
Coin Control Features. More...
#include <coincontrol.h>
Public Member Functions | |
| CCoinControl () | |
| 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 = CNoDestination() |
| Custom change destination, if not set an address is generated. More... | |
| std::optional< OutputType > | m_change_type |
| Override the default change type if set, ignored if destChange is set. More... | |
| bool | m_add_inputs = true |
| If false, only selected inputs are used. More... | |
| bool | m_include_unsafe_inputs = false |
| If false, only safe inputs will be used. More... | |
| bool | fAllowOtherInputs = false |
| If false, allows unselected inputs, but requires all selected inputs be used. More... | |
| bool | fAllowWatchOnly = false |
| Includes watch only addresses which are solvable. More... | |
| bool | fOverrideFeeRate = false |
| Override automatic min/max checks on fee, m_feerate must be set if true. More... | |
| std::optional< CFeeRate > | m_feerate |
| Override the wallet's m_pay_tx_fee if set. More... | |
| std::optional< unsigned int > | m_confirm_target |
| Override the default confirmation target if set. More... | |
| std::optional< bool > | m_signal_bip125_rbf |
| Override the wallet's m_signal_rbf if set. More... | |
| bool | m_avoid_partial_spends = DEFAULT_AVOIDPARTIALSPENDS |
| Avoid partial use of funds sent to a given address. More... | |
| bool | m_avoid_address_reuse = false |
| Forbids inclusion of dirty (previously used) addresses. More... | |
| FeeEstimateMode | m_fee_mode = FeeEstimateMode::UNSET |
| Fee estimation mode to control arguments to estimateSmartFee. More... | |
| int | m_min_depth = DEFAULT_MIN_DEPTH |
| Minimum chain depth value for coin availability. More... | |
| int | m_max_depth = DEFAULT_MAX_DEPTH |
| Maximum chain depth value for coin availability. More... | |
Private Attributes | |
| std::set< COutPoint > | setSelected |
Coin Control Features.
Definition at line 23 of file coincontrol.h.
| CCoinControl::CCoinControl | ( | ) |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
| CTxDestination CCoinControl::destChange = CNoDestination() |
Custom change destination, if not set an address is generated.
Definition at line 27 of file coincontrol.h.
| bool CCoinControl::fAllowOtherInputs = false |
If false, allows unselected inputs, but requires all selected inputs be used.
Definition at line 35 of file coincontrol.h.
| bool CCoinControl::fAllowWatchOnly = false |
Includes watch only addresses which are solvable.
Definition at line 37 of file coincontrol.h.
| bool CCoinControl::fOverrideFeeRate = false |
Override automatic min/max checks on fee, m_feerate must be set if true.
Definition at line 39 of file coincontrol.h.
| bool CCoinControl::m_add_inputs = true |
If false, only selected inputs are used.
Definition at line 31 of file coincontrol.h.
| bool CCoinControl::m_avoid_address_reuse = false |
Forbids inclusion of dirty (previously used) addresses.
Definition at line 49 of file coincontrol.h.
| bool CCoinControl::m_avoid_partial_spends = DEFAULT_AVOIDPARTIALSPENDS |
Avoid partial use of funds sent to a given address.
Definition at line 47 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 29 of file coincontrol.h.
| std::optional<unsigned int> CCoinControl::m_confirm_target |
Override the default confirmation target if set.
Definition at line 43 of file coincontrol.h.
| FeeEstimateMode CCoinControl::m_fee_mode = FeeEstimateMode::UNSET |
Fee estimation mode to control arguments to estimateSmartFee.
Definition at line 51 of file coincontrol.h.
| std::optional<CFeeRate> CCoinControl::m_feerate |
Override the wallet's m_pay_tx_fee if set.
Definition at line 41 of file coincontrol.h.
| bool CCoinControl::m_include_unsafe_inputs = false |
If false, only safe inputs will be used.
Definition at line 33 of file coincontrol.h.
| int CCoinControl::m_max_depth = DEFAULT_MAX_DEPTH |
Maximum chain depth value for coin availability.
Definition at line 55 of file coincontrol.h.
| int CCoinControl::m_min_depth = DEFAULT_MIN_DEPTH |
Minimum chain depth value for coin availability.
Definition at line 53 of file coincontrol.h.
| std::optional<bool> CCoinControl::m_signal_bip125_rbf |
Override the wallet's m_signal_rbf if set.
Definition at line 45 of file coincontrol.h.
|
private |
Definition at line 90 of file coincontrol.h.
1.8.14