Module worker

Source

Structs§

ChainStateViewReadGuard
A read guard providing access to a chain’s ChainStateView.
NetworkActions
Instruct the networking layer to send cross-chain requests and/or push notifications.
Notification
Notification that a chain has a new certified block or a new message.
WorkerState
State of a worker in a validator or a local node.

Enums§

Reason
Reason for the notification.
WorkerError
Error type for worker operations.

Constants§

DEFAULT_BLOCK_CACHE_SIZE
DEFAULT_EXECUTION_STATE_CACHE_SIZE

Traits§

ProcessableCertificate

Type Aliases§

OutboundCrossChainSender
Dispatcher for outbound cross-chain requests that handles the source-shard-to- target-shard routing that the worker itself is not aware of.