Function zebra_state::service::check::block_is_not_orphaned

source ·
fn block_is_not_orphaned(
    finalized_tip_height: Height,
    candidate_height: Height
) -> Result<(), ValidateContextError>
Expand description

Returns ValidateContextError::OrphanedBlock if the height of the given block is less than or equal to the finalized tip height.