linera-protocol icon indicating copy to clipboard operation
linera-protocol copied to clipboard

Initial commit for the block exporter.

Open usagi32 opened this issue 8 months ago • 0 comments

Motivation

Initial work for #3661.

Proposal

  • Created a new service implementing the NotifierService from linera-rpc to receive redirected notifications about new blocks from the chain workers, similar to linera-proxy(closes #3662).
  • A new CLI parsable type BlockExporterConfig to define the configuration options for the linera-exporter from a toml file(closes #3664).
  • Extended linera net up to optionally run a block exporter with a optional specified configuration(closes #3663).
  • Added a new view object BlockExporterStateView to track and update the latest information about the blocks from the workers(closes #3665).
  • This PR also partially addresses #3666, without the topological sorting part.

Test Plan

new unit and integration tests + CI

usagi32 avatar Apr 10 '25 15:04 usagi32