Function zebra_state::service::check::height_one_more_than_parent_height
source · fn height_one_more_than_parent_height(
parent_height: Height,
candidate_height: Height,
) -> Result<(), ValidateContextError>
Expand description
Returns ValidateContextError::NonSequentialBlock
if the block height isn’t
equal to the parent_height+1.