Module tree

Module tree 

Source
Expand description

Support for interacting with the blockchain tree.

Re-exports§

pub use payload_validator::BasicEngineValidator;
pub use payload_validator::EngineValidator;

Modules§

error
Internal errors for the tree module.
executor
Executor for mixed I/O and CPU workloads.
multiproof
Multiproof task related functionality.
payload_validator
Types and traits for validating blocks and payloads.
precompile_cache
Contains a precompile cache that is backed by a moka cache.
prewarm
Caching and prewarming related functionality.
sparse_trie
Sparse Trie task related functionality.
state
Functionality related to tree state.

Structs§

BlockBuffer
Contains the tree of pending blocks that cannot be executed due to missing parent. It allows to store unconnected blocks for potential future inclusion.
EngineApiTreeHandler
The engine API tree handler implementation.
EngineApiTreeState
Tracks the state of the engine api internals.
ExecutionEnv
EVM context required to execute a block.
InvalidHeaderCache
Keeps track of invalid headers.
PayloadHandle
Handle to all the spawned tasks.
PayloadProcessor
Entrypoint for executing the payload.
PersistenceState
The state of the persistence task.
StateProviderBuilder
A builder for creating state providers that can be used across threads.
TreeConfig
The configuration of the engine tree.
TreeOutcome
The outcome of a tree operation.

Enums§

BlockStatus
Block inclusion can be valid, accepted, or invalid. Invalid blocks are returned as an error variant.
InsertPayloadOk
How a payload was inserted if it was valid.
PersistingKind
Whether or not the blocks are currently persisting and the input block is a descendant.
TreeAction
The actions that can be performed on the tree.
TreeEvent
Events that are triggered by Tree Chain