Crate kona_node_service

Source
Expand description

§kona-node-service

CI kona-node-service crate MIT License Docs

An implementation of the OP Stack RollupNode service.

Structs§

ConductorClient
A client for communicating with the conductor service via RPC
DelayedL1OriginSelectorProvider
A wrapper around the RootProvider that delays the view of the L1 chain by a configurable amount of blocks.
DerivationActor
The NodeActor for the derivation sub-routine.
DerivationBuilder
The configuration necessary to build the derivation actor.
DerivationContext
The communication context used by the derivation actor.
DerivationInboundChannels
The inbound channels for the derivation actor. These channels are used to send messages to the derivation actor by other actors.
DerivationState
The state for the derivation actor.
EngineActor
The EngineActor is responsible for managing the operations sent to the execution layer’s Engine API. To accomplish this, it uses the Engine task queue to order Engine API interactions based off of the Ord implementation of EngineTask.
EngineBuilder
Configuration for the Engine Actor.
EngineContext
The communication context used by the engine actor.
EngineInboundData
The outbound data for the EngineActor.
L1OriginSelector
The L1OriginSelector is responsible for selecting the L1 origin block based on the current L2 unsafe head’s sequence epoch.
L1WatcherRpc
An L1 chain watcher that checks for L1 block updates over RPC.
L1WatcherRpcContext
The communication context used by the L1 watcher actor.
L1WatcherRpcInboundChannels
The inbound channels for the L1 watcher actor.
L1WatcherRpcState
The configuration for the L1 watcher actor.
L2Finalizer
The L2Finalizer is responsible for finalizing L2 blocks derived from finalized L1 blocks. It maintains a queue of derived L2 blocks that are awaiting finalization, and finalizes them as new finalized L1 blocks are received.
Metrics
Container for metrics.
NetworkActor
The network actor handles two core networking components of the rollup node:
NetworkBuilder
Constructs a NetworkDriver for the OP Stack Consensus Layer.
NetworkConfig
Configuration for kona’s P2P stack.
NetworkContext
The communication context used by the network actor.
NetworkDriver
A network driver. This is the driver that is used to start the network.
NetworkHandler
A network handler used to communicate with the network once it is started.
NetworkInboundData
The inbound data for the network actor.
RollupNode
The standard implementation of the RollupNode service, using the governance approved OP Stack configuration of components.
RollupNodeBuilder
The RollupNodeBuilder is used to construct a RollupNode service.
RpcActor
An actor that handles the RPC server for the rollup node.
RpcContext
The communication context used by the RPC actor.
SequencerActor
The SequencerActor is responsible for building L2 blocks on top of the current unsafe head and scheduling them to be signed and gossipped by the P2P layer, extending the L2 chain with new blocks.
SequencerBuilder
The builder for the SequencerActor.
SequencerConfig
Configuration for the SequencerActor.
SequencerContext
The communication context used by the SequencerActor.
SequencerInboundData
The inbound channels for the SequencerActor. These channels are used by external actors to send messages to the sequencer actor.

Enums§

ConductorError
Error type for conductor operations
DerivationError
An error from the DerivationActor.
EngineError
An error from the EngineActor.
InboundDerivationMessage
Messages that the DerivationActor can receive from other actors.
InteropMode
The InteropMode enum represents how the node works with interop.
L1OriginSelectorError
An error produced by the L1OriginSelector.
L1WatcherRpcError
The error type for the L1WatcherRpc.
NetworkActorError
An error from the network actor.
NetworkBuilderError
An error from the crate::NetworkBuilder.
NetworkDriverError
An error from the NetworkDriver.
NodeMode
The NodeMode enum represents the modes of operation for the RollupNodeService.
RpcActorError
An error returned by the RpcActor.
SequencerActorError
An error produced by the SequencerActor.

Traits§

AttributesBuilderConfig
A trait for building AttributesBuilders.
CancellableContext
The communication context used by the actor.
L1OriginSelectorProvider
L1 BlockInfo provider interface for the L1OriginSelector.
NodeActor
The NodeActor is an actor-like service for the node.
PipelineBuilder
A trait for building derivation pipelines.
RollupNodeService
The RollupNodeService trait defines the common interface for running a rollup node.