Expand description
Provider trait implementations.
Structs§
- The main type for interacting with the blockchain.
- The main type for interacting with the blockchain.
- A state provider that resolves to data from either a wrapped
crate::ExecutionOutcome
or an underlying state provider. - A consistent view over state in the database.
- Type that interacts with a snapshot view of the blockchain (storage and in-memory) at time of instantiation, EXCEPT for pending, safe and finalized block which might change while holding this provider.
- A provider struct that fetches data from the database. Wrapper around [
DbTx
] and [DbTxMut
]. Example:HeaderProvider
BlockHashReader
- A
DatabaseProvider
that holds a read-write database transaction. - State provider for a given block number. For more detailed description, see
HistoricalStateProviderRef
. - State provider for a given block number which takes a tx reference.
- State provider for the latest state.
- State provider over latest state that takes tx reference.
- A common provider that fetches data from a database or static file.
- Provider over a specific
NippyJar
and range. StaticFileProvider
manages all existingStaticFileJarProvider
.- Extends
StaticFileProvider
with writing capabilities - Mutable reference to a
StaticFileProviderRW
behind a [RwLockWriteGuard
].
Enums§
- Consistent database view error.
- Access mode on a static file provider. RO/RW.
Traits§
- Helper trait keeping common requirements of providers for [
NodeTypesWithDB
]. - Helper trait to manage different
StaticFileProviderRW
of anArc<StaticFileProvider
Type Aliases§
- A
DatabaseProvider
that holds a read-only database transaction.