Function zebra_state::service::finalized_state::zebra_db::metrics::block_precommit_metrics
source ยท pub(crate) fn block_precommit_metrics(block: &Block, hash: Hash, height: Height)
Expand description
Update metrics before committing a block.
The metrics are updated after contextually validating a block, but before writing its batch to the state.