Module zebra_state::service::read

source ·
Expand description

Shared state reading code.

Used by StateService and ReadStateService to read from the best Chain in the NonFinalizedState, and the database in the FinalizedState.



  • Reading address indexes.
  • Shared block, header, and transaction reading code.
  • Get context and calculate difficulty for the next block.
  • Finding and reading block hashes and headers, in response to peer requests.
  • Reading note commitment trees.