pub enum HintStatus {
Accepted,
Seen,
Mined {
height: Height,
},
StaleBlock,
Rejected {
reason: String,
},
DoubleSpend {
competitors: Vec<TxId>,
},
OrphanMempool,
Unknown,
}Expand description
A broadcaster’s claim reduced to the Lean hint vocabulary.
Variants§
Accepted
The broadcaster accepted the transaction.
Seen
The broadcaster reports the transaction seen on the network.
Mined
The broadcaster claims a block at a height; never inclusion evidence.
StaleBlock
The broadcaster reports the transaction mined in a block that went stale.
Rejected
The broadcaster reports a rejection.
DoubleSpend
The broadcaster reports a double spend.
OrphanMempool
The broadcaster reports the transaction in its orphan mempool.
Unknown
A status the vocabulary does not reduce to any other hint.
Trait Implementations§
Source§impl Clone for HintStatus
impl Clone for HintStatus
Source§impl Debug for HintStatus
impl Debug for HintStatus
impl Eq for HintStatus
Source§impl PartialEq for HintStatus
impl PartialEq for HintStatus
impl StructuralPartialEq for HintStatus
Auto Trait Implementations§
impl Freeze for HintStatus
impl RefUnwindSafe for HintStatus
impl Send for HintStatus
impl Sync for HintStatus
impl Unpin for HintStatus
impl UnsafeUnpin for HintStatus
impl UnwindSafe for HintStatus
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
Mutably borrows from an owned value. Read more