Struct breez_sdk_liquid::lightning::events::bump_transaction::CoinSelection
pub struct CoinSelection {
pub confirmed_utxos: Vec<Utxo>,
pub change_output: Option<TxOut>,
}
Expand description
The result of a successful coin selection attempt for a transaction requiring additional UTXOs to cover its fees.
Fields§
§confirmed_utxos: Vec<Utxo>
The set of UTXOs (with at least 1 confirmation) to spend and use within a transaction requiring additional fees.
change_output: Option<TxOut>
An additional output tracking whether any change remained after coin selection. This output
should always have a value above dust for its given script_pubkey
. It should not be
spent until the transaction it belongs to confirms to ensure mempool descendant limits are
not met. This implies no other party should be able to spend it except us.
Trait Implementations§
§impl Clone for CoinSelection
impl Clone for CoinSelection
§fn clone(&self) -> CoinSelection
fn clone(&self) -> CoinSelection
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CoinSelection
impl RefUnwindSafe for CoinSelection
impl Send for CoinSelection
impl Sync for CoinSelection
impl Unpin for CoinSelection
impl UnwindSafe for CoinSelection
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request