Skip to main content

Coordinator

The coordinator is the LinethLineth (Formerly the Linea Stack) The open-source ZK-rollup stack, codebase, and technical protocol that's the foundation of Linea Mainnet. Operators can deploy this stack to launch their own Ethereum-compatible L2 or L3 networks. orchestration service. It drives everything between block production and finalization: it groups blocks into provable units, requests each proof from the prover, and submits the proofs and the transaction data to the finalization layerFinalization layer The blockchain where a Lineth deployment submits proofs and state commitments for verification and hard finality. If the finalization layer is Ethereum (an L1), the deployment is an L2. If the finalization layer is Linea (an L2), the deployment is an L3..

The coordinator is also the channel between the network and its finalization layer in both directions. Network state leaves through the coordinator as data and proofs, and finalization-layer state comes back in through it, for the components that need to know what has been finalized.

How it works

The coordinator runs a set of services that share a database, each picking up work as the previous stage makes it available:

  1. It conflates blocks into batches, using trace counts from the tracer, and requests an execution proof for each batch it closes.
  2. It compresses conflated batch data into blobs, and requests a compression proof for each blob.
  3. It groups consecutive proven blobs and requests an aggregation proof, a single proof that stands in for the whole group.
  4. It submits blobs to the rollup contract on the finalization layer, then submits the aggregation proof to finalize that range of blocks.
  5. It polls the finalization layer for newly finalized state, feeds that back into conflation, and notifies the state manager.

Each stage records its results in the coordinator's database, so the stages can advance at their own pace and resume from the last persisted state after a restart.

The coordinator handles two jobs outside the proving pipeline. It anchors incoming messages from the finalization layer on the network, so the canonical message service can deliver them, and it computes and propagates the gas pricing that the network's nodes advertise.

info

On Linea Mainnet, the coordinator currently submits finalizations to Ethereum approximately every two hours.

See also

Was this page helpful?