Skip to content

Block exporter service #3661

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
ma2bd opened this issue Mar 26, 2025 · 0 comments
Open

Block exporter service #3661

ma2bd opened this issue Mar 26, 2025 · 0 comments
Labels
enhancement New feature or request
Milestone

Comments

@ma2bd
Copy link
Contributor

ma2bd commented Mar 26, 2025

Design doc: https://www.notion.so/Block-exporters-1b8bf4cdba9c8053a2bac1a05b6a095e

For simplicity, in this first implementation:

  • The binary linera-exporter will be developed in linera-service following the model of linera-proxy.
  • Only GRPC networking will be supported.
  • The destination(s) for data will be read from a file at startup (similar to server_config_path in linera-server).
@ma2bd ma2bd added the enhancement New feature or request label Mar 26, 2025
@ma2bd ma2bd added this to the Testnet #3 milestone Mar 26, 2025
@ma2bd ma2bd removed this from Core Protocol Mar 26, 2025
ma2bd pushed a commit that referenced this issue Apr 18, 2025
## 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant