Enum OutputSpendStatus
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: BlockHash
The hash of the chain tip when we first broadcast a transaction spending this output.
latest_broadcast_height: u32
The best height when we last broadcast a transaction spending this output.
latest_spending_tx: Transaction
The 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 ANTI_REORG_DELAY
confirmations.
Fields
first_broadcast_hash: BlockHash
The hash of the chain tip when we first broadcast a transaction spending this output.
latest_broadcast_height: u32
The best height when we last broadcast a transaction spending this output.
latest_spending_tx: Transaction
The transaction spending this output we saw confirmed on-chain.
Trait Implementations§
§impl Clone for OutputSpendStatus
impl Clone for OutputSpendStatus
§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§impl Debug for OutputSpendStatus
impl Debug for OutputSpendStatus
§impl PartialEq for OutputSpendStatus
impl PartialEq for OutputSpendStatus
§impl Readable for OutputSpendStatus
impl Readable for OutputSpendStatus
§fn read<R>(reader: &mut R) -> Result<OutputSpendStatus, DecodeError>where
R: Read,
fn read<R>(reader: &mut R) -> Result<OutputSpendStatus, DecodeError>where
R: Read,
Self
in from the given Read
.§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§
§impl<T> AnyEq for T
impl<T> AnyEq for T
§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
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key
and return true
if they are equal.§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>
T
in a tonic::Request
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>
T
in a tonic::Request