Skip to content

Implement the first Debug destination for the block exporter #3666

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

Implement the first Debug destination for the block exporter #3666

ma2bd opened this issue Mar 26, 2025 · 0 comments

Comments

@ma2bd
Copy link
Contributor

ma2bd commented Mar 26, 2025

This destination creates batches of blocks and blobs and simply prints a summary of each new batch on stdout: block hashes and byte size, blob hashes and byte size.

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
None yet
Projects
None yet
Development

No branches or pull requests

1 participant