Module zebra_state::service::read::block

source ·
Expand description

Shared block, header, and transaction reading code.

In the functions in this module:

The block write task commits blocks to the finalized state before updating chain or non_finalized_state with a cached copy of the non-finalized chains in NonFinalizedState.chain_set. Then the block commit task can commit additional blocks to the finalized state after we’ve cloned the chain or non_finalized_state.

This means that some blocks can be in both:

Functions§