zebra_state::service::check

Function initial_contextual_validity

source
pub(crate) fn initial_contextual_validity(
    finalized_state: &ZebraDb,
    non_finalized_state: &NonFinalizedState,
    semantically_verified: &SemanticallyVerifiedBlock,
) -> Result<(), ValidateContextError>
Expand description

Perform initial contextual validity checks for the configured network, based on the committed finalized and non-finalized state.

Additional contextual validity checks are performed by the non-finalized Chain.