Skip to content
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

[FR] - Add support for reading checkpoint data #5730

Open
dnadales opened this issue Mar 27, 2024 · 1 comment
Open

[FR] - Add support for reading checkpoint data #5730

dnadales opened this issue Mar 27, 2024 · 1 comment
Labels
type: enhancement An improvement on the existing functionality

Comments

@dnadales
Copy link
Member

dnadales commented Mar 27, 2024

Internal/External
Internal if an IOHK staff member.

Area
Other Any other topic (Delegation, Ranking, ...).

Describe the feature you'd like

Implement a solution allowing checkpoint data to be provided to the node such that:

  • The checkpoint data contains a list of blocks which must be present in the chain.
  • If we encounter a chain which would exclude a block in this list, we will consider it invalid.

The functionality already exists in Consensus (IntersectMBO/ouroboros-consensus#898), remaining work is to (optionally) parse the relevant checkpoint data and propagate them to Consensus.

Sketch: Optionally, the node config file can contain a path to a file containing the snapshots, eg

20 deadbeef
30 beefdead

indicating checkpoint hashes for block numbers 20 and 30.

@dnadales dnadales added the type: enhancement An improvement on the existing functionality label Mar 27, 2024
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.

@github-actions github-actions bot added the Stale label Apr 27, 2024
@amesgen amesgen removed the Stale label May 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement An improvement on the existing functionality
Projects
None yet
Development

No branches or pull requests

2 participants