pub enum BlockStateMachineOutput {
FrozenBlock(FrozenBlock),
SlotStatus(SlotCommitmentStatusUpdate),
ForksDetected(ForkDetected),
DeadSlotDetected(DeadBlockDetected),
BankCreated(Slot),
BankReset(Slot),
}Variants§
FrozenBlock(FrozenBlock)
SlotStatus(SlotCommitmentStatusUpdate)
ForksDetected(ForkDetected)
DeadSlotDetected(DeadBlockDetected)
BankCreated(Slot)
BankReset(Slot)
Given that Anza did not expose any information about the duplicate-unconfirmed-slot scenario, we have to assume that it can happen and the only way to detect it is via a second BankCreated event for the same slot number.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BlockStateMachineOutput
impl RefUnwindSafe for BlockStateMachineOutput
impl Send for BlockStateMachineOutput
impl Sync for BlockStateMachineOutput
impl Unpin for BlockStateMachineOutput
impl UnsafeUnpin for BlockStateMachineOutput
impl UnwindSafe for BlockStateMachineOutput
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