Expand description
State root task interface types shared between the engine tree and the payload builder. State-root task interface types shared between the engine tree and the payload builder.
The “state-root task” is the background multiproof and sparse-trie pipeline that computes
state roots incrementally while a block executes. This module holds its boundary types:
the input messages, the StateRootSink and
stream views that feed it, and the handles
that await its result. The per-block strategy abstraction that decides whether and how the
task runs lives in reth-engine-tree under tree::state_root_strategy.
Structs§
- Payload
State Root Handle - Opaque state-root task handle passed to payload builders.
- State
Access Hint - Hashed account and storage keys that a state-root task may want to prefetch.
- State
Root Compute Outcome - Outcome of the state root computation, including the state root itself with the trie updates.
- State
Root Handle - Handle to a background sparse trie state root computation.
- State
Root Hint Stream - Hint-only view of a state-root stream.
- State
Root Task Cancel Guard - Guard that cancels a state-root task when dropped.
- State
Root Update Hook - EVM hook that forwards state updates into a
StateRootSink. - State
Root Update Stream - Authoritative update capability of a state-root stream.
Enums§
- State
Root Message - Messages used internally by the multi proof task.
Traits§
- State
Root Sink - Semantic update stream consumed by state-root tasks.
Functions§
- evm_
state_ to_ hashed_ post_ state - Converts [
EvmState] toHashedPostStateby keccak256-hashing addresses and storage slots.