pub enum Reask {
Reorg {
fork_height: Height,
},
Fork {
height: Height,
},
Hint(Hint),
ProofFailed {
height: Height,
},
Recheck,
Age,
Spend,
}Expand description
A value for the host to execute; the crate never fetches anything.
Variants§
Reorg
The mined word went stale; fetch a fresh proof.
Fields
Fork
A fork, or a version-2 split, at or below the mined height; the word
is suspect. A split reuses this re-ask with its forkHeight: the host’s
act, a recheck at its depth rule, is the same for both.
Hint(Hint)
A hint that disagrees with the word; reconcile it.
ProofFailed
A proof or competitor proof failed its check.
Recheck
Recheck the mined word against the current headers.
Age
The last hint is older than the age threshold.
Spend
The host is about to spend; recheck before it does.
Trait Implementations§
impl Eq for Reask
impl StructuralPartialEq for Reask
Auto Trait Implementations§
impl Freeze for Reask
impl RefUnwindSafe for Reask
impl Send for Reask
impl Sync for Reask
impl Unpin for Reask
impl UnsafeUnpin for Reask
impl UnwindSafe for Reask
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