Module launcher

Module launcher 

Source
Expand description

Custom engine node launcher for Arbitrum.

Extends reth’s standard EngineNodeLauncher by capturing the engine tree sender during orchestrator construction. This sender allows the block producer to inject InsertExecutedBlock directly into reth’s engine tree for persistence via PersistenceService::save_blocks(Full).

This is the reth SDK-native approach: implement LaunchNode with custom orchestrator wiring while reusing all other engine infrastructure.

Structs§

ArbEngineLauncher
Arbitrum engine node launcher.
FlushRequest
Flush payload: buffered blocks to persist.
FlushResult
Result from a completed flush.

Enums§

PersistenceRequest
Request sent to the background persistence thread.

Functions§

compute_parallel_state_root
engine_handle
start_flush
Send blocks to the background persistence thread (non-blocking).
start_unwind
Send an unwind request to the background persistence thread and return a receiver for the result. Blocks from target + 1 onward (and their execution state + trie state) are removed from disk. This runs on the same thread as flushes to avoid races with in-flight persistence.
tree_sender
try_flush_result
Check if a background flush completed (non-blocking).