[#wallet-COutput] = xref:wallet.adoc[wallet]::COutput :relfileprefix: ../ :mrdocs: A UTXO under consideration for use in funding a new transaction. == Synopsis Declared in `<wallet/coinselection.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- struct COutput; ---- == Member Functions [cols="1,4"] |=== | Name| Description | xref:wallet/COutput/2constructor-0f.adoc[`COutput`] [.small]#[constructor]# | Constructors | xref:wallet/COutput/ApplyBumpFee.adoc[`ApplyBumpFee`] | Add the fee needed to bump this output's unconfirmed ancestors, updating the effective value. | xref:wallet/COutput/GetEffectiveValue.adoc[`GetEffectiveValue`] | Return the output's value minus the fee to spend it. | xref:wallet/COutput/GetFee.adoc[`GetFee`] | Return the fee required to spend this output. | xref:wallet/COutput/HasEffectiveValue.adoc[`HasEffectiveValue`] | Report whether an effective value has been computed for this output. | xref:wallet/COutput/ToString.adoc[`ToString`] | Return a human‐readable description of this output. | xref:wallet/COutput/operator_lt.adoc[`operator<`] | Order outputs by their outpoint. |=== == Data Members [cols="1,4"] |=== | Name| Description | xref:wallet/COutput/ancestor_bump_fees.adoc[`ancestor_bump_fees`] | The fee necessary to bump this UTXO's ancestor transactions to the target feerate | xref:wallet/COutput/depth.adoc[`depth`] | 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. | xref:wallet/COutput/from_me.adoc[`from_me`] | Whether the transaction containing this output is sent from the owning wallet | xref:wallet/COutput/input_bytes.adoc[`input_bytes`] | Pre‐computed estimated size of this output as a fully‐signed input in a transaction. Can be ‐1 if it could not be calculated | xref:wallet/COutput/long_term_fee.adoc[`long_term_fee`] | The fee required to spend this output at the consolidation feerate. | xref:wallet/COutput/outpoint.adoc[`outpoint`] | The outpoint identifying this UTXO | xref:wallet/COutput/safe.adoc[`safe`] | 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. | xref:wallet/COutput/solvable.adoc[`solvable`] | Whether we know how to spend this output, ignoring the lack of keys | xref:wallet/COutput/time.adoc[`time`] | The time of the transaction containing this output as determined by CWalletTx::nTimeSmart | xref:wallet/COutput/txout.adoc[`txout`] | The output itself |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#