Expand description
Provider trait implementations.
Structs§
- Blockchain
Provider - The main type for interacting with the blockchain.
- Blockchain
Provider2 - The main type for interacting with the blockchain.
- Bundle
State Provider - A state provider that resolves to data from either a wrapped
crate::ExecutionOutcome
or an underlying state provider. - Consistent
DbView - A consistent view over state in the database.
- Database
Provider - A provider struct that fetches data from the database.
Wrapper around [
DbTx
] and [DbTxMut
]. Example:HeaderProvider
BlockHashReader
- Database
ProviderRW - A
DatabaseProvider
that holds a read-write database transaction. - Historical
State Provider - State provider for a given block number.
For more detailed description, see
HistoricalStateProviderRef
. - Historical
State Provider Ref - State provider for a given block number which takes a tx reference.
- Latest
State Provider - State provider for the latest state.
- Latest
State Provider Ref - State provider over latest state that takes tx reference.
- Provider
Factory - A common provider that fetches data from a database or static file.
- Static
File JarProvider - Provider over a specific
NippyJar
and range. - Static
File Provider StaticFileProvider
manages all existingStaticFileJarProvider
.- Static
File ProviderRW - Extends
StaticFileProvider
with writing capabilities - Static
File ProviderRW RefMut - Mutable reference to a
StaticFileProviderRW
behind a [RwLockWriteGuard
].
Enums§
- Consistent
View Error - Consistent database view error.
- Static
File Access - Access mode on a static file provider. RO/RW.
Traits§
- Chain
Storage - Trait that provides access to implementations of
ChainStorage
- Node
Types ForProvider - Helper trait to bound [
NodeTypes
] so that combined with database they satisfyProviderNodeTypes
. - Node
Types ForTree - A helper trait with requirements for
NodeTypesForProvider
to be used within legacy blockchain tree. - Provider
Node Types - Helper trait keeping common requirements of providers for [
NodeTypesWithDB
]. - Static
File Writer - Helper trait to manage different
StaticFileProviderRW
of anArc<StaticFileProvider
- Tree
Node Types - Helper trait with requirements for
ProviderNodeTypes
to be used within legacy blockchain tree.
Type Aliases§
- Database
ProviderRO - A
DatabaseProvider
that holds a read-only database transaction.