Coin Control Features.
Synopsis
Declared in <wallet/coincontrol.h>
class CCoinControl;
Member Functions
Name |
Description |
|
Construct a coin control with default settings. |
Returns the external output for the given outpoint if it exists. |
|
Returns the input weight. |
|
Retrieves the scriptSig and scriptWitness for an input. |
|
Returns the selection order position stored for the given pre‐selected output, if any. |
|
Retrieve the sequence for an input |
|
Returns true if there are pre‐selected inputs. |
|
Returns true if any pre‐selected input has a stored selection order position. |
|
Returns true if the given output is selected as an external input. |
|
Returns true if the given output is pre‐selected. |
|
List the selected inputs. |
|
Lock‐in the given output for spending. The output will be included in the transaction even if it's not the most optimal choice. |
|
Set an input's weight. |
|
Unselects the given output. |
|
Unselects all outputs. |
Data Members
Name |
Description |
Custom change destination, if not set an address is generated |
|
Override automatic min/max checks on fee, m_feerate must be set if true |
|
If true, the selection process can add extra unselected inputs from the wallet while requires all selected inputs be used |
|
Forbids inclusion of dirty (previously used) addresses |
|
Avoid partial use of funds sent to a given address |
|
Override the default change type if set, ignored if destChange is set |
|
Override the default confirmation target if set |
|
SigningProvider that has pubkeys and scripts to do spend size estimation for external inputs |
|
Fee estimation mode. |
|
Override the wallet's fee rate if set |
|
If false, only safe inputs will be used |
|
Locktime |
|
Maximum chain depth value for coin availability |
|
Caps weight of resulting tx |
|
Minimum chain depth value for coin availability |
|
Override the wallet's m_signal_rbf if set |
|
Version |
Created with MrDocs