Available on crate feature
storage-api
only.Expand description
Re-exported reth storage api types
Modules§
- errors
- Commonly used error types used when interacting with storage.
- noop
- Various noop implementations for traits.
Structs§
- EthStorage
- Ethereum storage implementation.
Enums§
- Block
Source - A helper enum that represents the origin of the requested block.
- Storage
Location - An enum that represents the storage location for a piece of data.
- Transaction
Variant - Enum to control transaction hash inclusion.
Traits§
- Account
ExtReader - Account reader
- Account
Reader - Account reader
- Block
Body Indices Provider - Client trait for fetching block body indices related data.
- Block
Body Reader - Trait that implements how block bodies are read from the storage.
- Block
Body Writer - Trait that implements how block bodies are written to the storage.
- Block
Execution Fork Provider - Fork data needed for execution on it.
- Block
Execution Writer BlockExecution
Writer- Block
Hash Reader - Client trait for fetching block hashes by number.
- Block
IdReader - Client trait for transforming
BlockId
into block numbers or hashes. - Block
NumReader - 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.
- Block
Reader - Api trait for fetching
Block
related data. - Block
Reader IdExt - Trait extension for
BlockReader
, for types that implementBlockId
conversion. - Block
Writer - Block Writer
- Blockchain
Tree Pending State Provider - Blockchain trait provider that gives access to the blockchain state that is not yet committed (pending).
- Canon
Chain Tracker - A type that can track updates related to fork choice updates.
- Chain
State Block Reader - Functionality to read the last known chain blocks from the database.
- Chain
State Block Writer - Functionality to write the last known chain blocks to the database.
- Chain
Storage Reader - Trait that implements how chain-specific types are read from storage.
- Chain
Storage Writer - Trait that implements how chain-specific types are written to the storage.
- Change
SetReader - AccountChange reader
- DBProvider
- Database provider.
- Database
Provider Factory - Database provider factory.
- Execution
Data Provider - Provides data required for post-block execution.
- Full
Execution Data Provider - Provides comprehensive post-execution state data required for further execution.
- Hashed
Post State Provider - Trait that provides the hashed state from various sources.
- Hashing
Writer - Hashing Writer
- Header
Provider - Client trait for fetching
Header
related data. - History
Writer - History Writer
- Node
Primitives Provider - Provider implementation that knows configured
NodePrimitives
. - Ommers
Provider - Client trait for fetching ommers.
- Prune
Checkpoint Reader - The trait for fetching prune checkpoint related data.
- Prune
Checkpoint Writer - The trait for updating prune checkpoint related data.
- Receipt
Provider - Client trait for fetching receipt data.
- Receipt
Provider IdExt - Trait extension for
ReceiptProvider
, for types that implementBlockId
conversion. - Stage
Checkpoint Reader - The trait for fetching stage checkpoint related data.
- Stage
Checkpoint Writer - The trait for updating stage checkpoint related data.
- State
Commitment Provider - Trait implemented for database providers that can provide the [
reth_trie_db::StateCommitment
] type. - State
Proof Provider - A type that can generate state proof on top of a given post state.
- State
Provider - An abstraction for a type that provides state data.
- State
Provider Factory - Light wrapper that returns
StateProvider
implementations that correspond to the givenBlockNumber
, the latest state, or the pending state. - State
Root Provider - A type that can compute the state root of a given post state.
- Stats
Reader - The trait for fetching provider statistics.
- Storage
Change SetReader - Storage ChangeSet reader
- Storage
Reader - Storage reader
- Storage
Root Provider - A type that can compute the storage root for a given account.
- Storage
Trie Writer - Storage Trie Writer
- Transactions
Provider - Client trait for fetching transactions related data.
- Transactions
Provider Ext - Client trait for fetching additional transactions related data.
- Trie
Writer - Trie Writer
- TryInto
Historical State Provider - Trait implemented for database providers that can be converted into a historical state provider.
- Withdrawals
Provider - Client trait for fetching
alloy_eips::eip4895::Withdrawal
related data.
Type Aliases§
- Factory
Tx - Helper type alias to get the associated transaction type from a
DatabaseProviderFactory
. - Provider
Block - A helper type alias to access
BlockReader::Block
. - Provider
Header - A helper type alias to access
HeaderProvider::Header
. - Provider
Receipt - A helper type alias to access
ReceiptProvider::Receipt
. - Provider
Tx - A helper type alias to access
TransactionsProvider::Transaction
. - Read
Body Input - Input for reading a block body. Contains a header of block being read and a list of pre-fetched transactions.
- State
Provider Box - Type alias of boxed
StateProvider
.