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 more