async fn check_block_messages<DB: Blockstore + Send + Sync + 'static>(
    state_manager: Arc<StateManager<DB>>,
    block: Arc<Block>,
    base_tipset: Arc<Tipset>,
) -> Result<(), TipsetRangeSyncerError>
Expand description

Validate messages in a full block, relative to the parent tipset.

This includes:

  • signature checks
  • gas limits, and prices
  • account nonce values
  • the message root in the header

NB: This loads/computes the state resulting from the execution of the parent tipset.