Enum solana_ledger::block_error::BlockError [−][src]
pub enum BlockError {
Incomplete,
InvalidEntryHash,
InvalidLastTick,
TooFewTicks,
TooManyTicks,
InvalidTickHashCount,
TrailingEntry,
DuplicateBlock,
}
Variants
Block did not have enough ticks was not marked full and no shred with is_last was seen.
Block entries hashes must all be valid
Blocks must end in a tick that has been marked as the last tick.
Blocks can not have missing ticks Usually indicates that the node was interruppted with a more valuable block during production and abandoned it for that more-favorable block. Leader sent data to indicate the end of the block.
Blocks can not have extra ticks
All ticks must contain the same number of hashes within a block
Blocks must end in a tick entry, trailing transaction entries are not allowed to guarantee that each block has the same number of hashes
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for BlockError
impl Send for BlockError
impl Sync for BlockError
impl Unpin for BlockError
impl UnwindSafe for BlockError
Blanket Implementations
pub fn as_fail(&self) -> &(dyn Fail + 'static)
pub fn as_fail(&self) -> &(dyn Fail + 'static)
Converts a reference to Self
into a dynamic trait object of Fail
.
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Wrap the input message T
in a tonic::Request
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more