Module nitro_execution

Module nitro_execution 

Source
Expand description

Nitro execution RPC namespace (nitroexecution_*).

Implements the RPC interface that the Nitro consensus layer uses to drive block production on this execution client. The critical method is digestMessage, which takes an L1 incoming message with metadata and produces a block, returning the block hash and send root.

Structs§

RpcBatchDataStats
Batch data statistics for L1 cost estimation. Fields have explicit JSON tags (lowercase).
RpcConsensusSyncData
Consensus sync data pushed from consensus. Uses PascalCase JSON serialization (no explicit JSON tags).
RpcFinalityData
Finality data pushed from consensus. Uses PascalCase JSON serialization (no explicit JSON tags).
RpcL1IncomingMessage
L1 incoming message containing header and L2 payload. Fields have explicit JSON tags (camelCase).
RpcL1IncomingMessageHeader
L1 incoming message header. Fields have explicit JSON tags (camelCase).
RpcMaintenanceStatus
Maintenance status. Uses PascalCase JSON serialization (no explicit JSON tags).
RpcMessageResult
Result of block production: block hash and send root. Uses PascalCase JSON serialization (no explicit JSON tags).
RpcMessageWithMetadata
Message with metadata, sent by the consensus layer to the execution client. Fields have explicit JSON tags (camelCase).
RpcMessageWithMetadataAndBlockInfo
Extended message info including block hash and metadata. Uses PascalCase JSON serialization (no explicit JSON tags).

Traits§

NitroExecutionApiServer
Server trait implementation for the NitroExecutionApi RPC API.