pub enum OutputSpendStatus {
PendingInitialBroadcast {
delayed_until_height: Option<u32>,
},
PendingFirstConfirmation {
first_broadcast_hash: BlockHash,
latest_broadcast_height: u32,
latest_spending_tx: Transaction,
},
PendingThresholdConfirmations {
first_broadcast_hash: BlockHash,
latest_broadcast_height: u32,
latest_spending_tx: Transaction,
confirmation_height: u32,
confirmation_hash: BlockHash,
},
}Expand description
The current status of the output spend.
Variants§
PendingInitialBroadcast
The output is tracked but an initial spending transaction hasn’t been generated and broadcasted yet.
Fields
PendingFirstConfirmation
A transaction spending the output has been broadcasted but is pending its first confirmation on-chain.
Fields
first_broadcast_hash: BlockHashThe hash of the chain tip when we first broadcast a transaction spending this output.
latest_broadcast_height: u32The best height when we last broadcast a transaction spending this output.
latest_spending_tx: TransactionThe transaction spending this output we last broadcasted.
PendingThresholdConfirmations
A transaction spending the output has been confirmed on-chain but will be tracked until it
reaches at least PRUNE_DELAY_BLOCKS confirmations to ensure Event::SpendableOutputs
stemming from lingering ChannelMonitors can safely be replayed.
Fields
first_broadcast_hash: BlockHashThe hash of the chain tip when we first broadcast a transaction spending this output.
latest_broadcast_height: u32The best height when we last broadcast a transaction spending this output.
latest_spending_tx: TransactionThe transaction spending this output we saw confirmed on-chain.
Trait Implementations§
Source§impl Clone for OutputSpendStatus
impl Clone for OutputSpendStatus
Source§fn clone(&self) -> OutputSpendStatus
fn clone(&self) -> OutputSpendStatus
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for OutputSpendStatus
impl Debug for OutputSpendStatus
Source§impl PartialEq for OutputSpendStatus
impl PartialEq for OutputSpendStatus
Source§impl Readable for OutputSpendStatus
impl Readable for OutputSpendStatus
Source§impl Writeable for OutputSpendStatus
impl Writeable for OutputSpendStatus
impl Eq for OutputSpendStatus
impl StructuralPartialEq for OutputSpendStatus
Auto Trait Implementations§
impl Freeze for OutputSpendStatus
impl RefUnwindSafe for OutputSpendStatus
impl Send for OutputSpendStatus
impl Sync for OutputSpendStatus
impl Unpin for OutputSpendStatus
impl UnwindSafe for OutputSpendStatus
Blanket Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> LengthReadable for Twhere
T: Readable,
impl<T> LengthReadable for Twhere
T: Readable,
Source§fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
Self in from the given LengthLimitedRead.