Enum ckb_verification::UnclesError [−][src]
pub enum UnclesError {
OverCount {
max: u32,
actual: u32,
},
InvalidNumber,
InvalidTarget,
InvalidDifficultyEpoch,
ProposalsHash,
ProposalDuplicate,
Duplicate(Byte32),
DoubleInclusion(Byte32),
DescendantLimit,
ExceededMaximumProposalsLimit,
}Expand description
Errors due to the fact that the uncle rule is not respected.
Variants
The number of block uncles exceeds limit.
Fields of OverCount
There is an uncle whose number is greater than or equal to current block number.
There is an uncle who belongs to a different epoch from the current block.
There is an uncle who belongs to a different epoch from the current block.
There is an uncle whose proposals-hash does not match with the calculated result.
There is an uncle whose proposals have duplicated items.
Duplicate(Byte32)There are duplicated uncles in the current block.
Tuple Fields of Duplicate
0: Byte32DoubleInclusion(Byte32)There is an uncle that has already been included before.
Tuple Fields of DoubleInclusion
0: Byte32The depth of uncle descendant exceeds limit.
The number of uncle proposals exceeds limit.
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for UnclesError
impl Send for UnclesError
impl Sync for UnclesError
impl Unpin for UnclesError
impl UnwindSafe for UnclesError
Blanket Implementations
Mutably borrows from an owned value. Read more