Crate reth_storage_api
source ·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.
Enums§
- A helper enum that represents the origin of the requested block.
- Enum to control transaction hash inclusion.
Traits§
- Account reader
- Account reader
- 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).
- AccountChange reader
- Database provider.
- Database provider factory.
- Provides data required for post-block execution.
- Provides comprehensive post-execution state data required for further execution.
- Client trait for fetching
Header
related data. - 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. - Writer trait for writing [
Receipt
] data. - Client trait for fetching EIP-7685 [Requests] for blocks.
- The trait for fetching stage checkpoint related data.
- The trait for updating stage checkpoint related data.
- 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.
- Storage reader
- A type that can compute the storage root for a given account.
- Client trait for fetching [TransactionSigned] related data.
- Client trait for fetching additional [TransactionSigned] related data.
- Trait implemented for database providers that can be converted into a historical state provider.
- Client trait for fetching [Withdrawal] related data.
Type Aliases§
- Type alias of boxed
StateProvider
.