Expand description
Reth state related types and functionality.
Modules§
- test_
utils test-utils
- Common test helpers
Structs§
- Block
State - State after applying the given block, this block is part of the canonical chain that partially stored in memory and can be traced back to a canonical block on disk.
- Canon
State Notification Stream - A Stream of
CanonStateNotification
. - Canonical
InMemory State - This type is responsible for providing the blocks, receipts, and state for all canonical blocks not on disk yet and keeps track of the block range that is in memory.
- Chain
Info Tracker - Tracks the chain info: canonical head, safe block, finalized block.
- EthPrimitives
- Helper struct that specifies the ethereum
NodePrimitives
types. - Executed
Block - Represents an executed block stored in-memory.
- Executed
Block With Trie Updates - An
ExecutedBlock
with its [TrieUpdates
]. - Fork
Choice Notifications - Wrapper around a broadcast receiver that receives fork choice notifications.
- Fork
Choice Stream - A stream for fork choice watch channels (pending, safe or finalized watchers)
- Memory
Overlay State Provider Ref - A state provider that stores references to in-memory blocks along with their state as well as a reference of the historical state provider for fallback lookups.
Enums§
- Canon
State Notification - A notification that is sent when a new block is imported, or an old block is reverted.
- NewCanonical
Chain - Non-empty chain of blocks.
Traits§
- Canon
State Subscriptions - A type that allows to register chain related event subscriptions.
- Fork
Choice Subscriptions - A trait that allows to register to fork choice related events and get notified when a new fork choice is available.
Type Aliases§
- Canon
State Notification Sender - Type alias for a sender that sends
CanonStateNotification
- Canon
State Notifications - Type alias for a receiver that receives
CanonStateNotification
- Memory
Overlay State Provider - A state provider that stores references to in-memory blocks along with their state as well as the historical state provider for fallback lookups.