A group of UTXOs paid to the same output script.
Synopsis
Declared in <wallet/coinselection.h>
struct OutputGroup;
Member Functions
Name |
Description |
|
Constructors |
Report whether this group passes an eligibility filter. |
|
Return the value used for this group during coin selection. |
|
Add an output to the group, updating its aggregate values. |
Data Members
Name |
Description |
The value of the UTXOs after deducting the cost of spending them at the effective feerate. |
|
The fee to spend these UTXOs at the effective feerate. |
|
The fee to spend these UTXOs at the long term feerate. |
|
The aggregated count of unconfirmed ancestors of all UTXOs in this group. Not deduplicated and may overestimate when ancestors are shared. |
|
The minimum number of confirmations the UTXOs in the group have. Unconfirmed is 0. |
|
Whether the UTXOs were sent by the wallet to itself. This is relevant because we may want at least a certain number of confirmations on UTXOs received from outside wallets while trusting our own UTXOs more. |
|
The feerate for spending a created change output eventually (i.e. not urgently, and thus at a lower feerate). Calculated using long term fee estimate. This is used to decide whether it could be economical to create a change output. |
|
The maximum cluster count of a single UTXO in this output group. |
|
The list of UTXOs contained in this output group. |
|
Indicate that we are subtracting the fee from outputs. When true, the value that is used for coin selection is the UTXO's real value rather than effective value |
|
The total value of the UTXOs in sum. |
|
Total weight of the UTXOs in this group. |
Created with MrDocs