Expand description
Collection of traits and types for common storage access.
Re-exports§
pub use reth_storage_errors as errors;
Modules§
- Various noop implementations for traits.
Structs§
- Ethereum storage implementation.
Enums§
- A helper enum that represents the origin of the requested block.
- An enum that represents the storage location for a piece of data.
- Enum to control transaction hash inclusion.
Traits§
- Account reader
- Account reader
- Client trait for fetching block body indices related data.
- Trait that implements how block bodies are read from the storage.
- Trait that implements how block bodies are written to the storage.
- Fork data needed for execution on it.
- Client trait for fetching block hashes by number.
- Client trait for transforming [
BlockId
] into block numbers or hashes. - Client trait for getting important block numbers (such as the latest block number), converting block hashes to numbers, and fetching a block hash from its block number.
- Api trait for fetching
Block
related data. - Trait extension for
BlockReader
, for types that implementBlockId
conversion. - Blockchain trait provider that gives access to the blockchain state that is not yet committed (pending).
- A type that can track updates related to fork choice updates.
- Functionality to read the last known chain blocks from the database.
- Functionality to write the last known chain blocks to the database.
- Trait that implements how chain-specific types are read from storage.
- Trait that implements how chain-specific types are written to the storage.
- AccountChange reader
- Database provider.
- Database provider factory.
- Provides data required for post-block execution.
- Provides comprehensive post-execution state data required for further execution.
- Trait that provides the hashed state from various sources.
- Hashing Writer
- Client trait for fetching
Header
related data. - History Writer
- Provider implementation that knows configured [
NodePrimitives
]. - Client trait for fetching ommers.
- The trait for fetching prune checkpoint related data.
- The trait for updating prune checkpoint related data.
- Client trait for fetching receipt data.
- Trait extension for
ReceiptProvider
, for types that implementBlockId
conversion. - The trait for fetching stage checkpoint related data.
- The trait for updating stage checkpoint related data.
- Trait implemented for database providers that can provide the [
StateCommitment
] type. - A type that can generate state proof on top of a given post state.
- An abstraction for a type that provides state data.
- Light wrapper that returns
StateProvider
implementations that correspond to the givenBlockNumber
, the latest state, or the pending state. - A type that can compute the state root of a given post state.
- The trait for fetching provider statistics.
- Storage ChangeSet reader
- Storage reader
- A type that can compute the storage root for a given account.
- Storage Trie Writer
- Client trait for fetching transactions related data.
- Client trait for fetching additional transactions related data.
- Trie Writer
- Trait implemented for database providers that can be converted into a historical state provider.
- Client trait for fetching [Withdrawal] related data.
Type Aliases§
- A helper type alias to access
BlockReader::Block
. - A helper type alias to access
HeaderProvider::Header
. - A helper type alias to access
ReceiptProvider::Receipt
. - A helper type alias to access
TransactionsProvider::Transaction
. - Input for reading a block body. Contains a header of block being read and a list of pre-fetched transactions.
- Type alias of boxed
StateProvider
.