[FR] - Add support for reading checkpoint data
dnadales opened this issue · comments
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.
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.
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.