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

[FEAT] - design a lightweight checkpointing mechanism #388

Closed
nfrisby opened this issue Oct 2, 2023 · 2 comments
Closed

[FEAT] - design a lightweight checkpointing mechanism #388

nfrisby opened this issue Oct 2, 2023 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@nfrisby
Copy link
Contributor

nfrisby commented Oct 2, 2023

Even once Ouroboros Genesis is released, "disasters" or "inexplicably lucky" attackers may give rise to scenarios where a lightweight checkpointing mechanism would be useful. Notably, the mere existence of such a mechanism might even itself make the attack vector less attractive.

This Issue is to design such a mechanism.

At this point, the rough idea is that some configuration file could contain a list of points (ie pairs of a slot and a hash) that overrides normal chain comparison and/or validation in some way. The fundamental candidates are: EITHER a header/block whose point is in the list is considered invalid by fiat OR all headers/blocks in the same slot as one of the points but with a different hash are considered invalid by fiat.


This is explicitly not a heavyweight checkpointing mechanism, eg once that would give rise to a new and distinct genesis block.

@nfrisby nfrisby added the enhancement New feature or request label Oct 2, 2023
@nfrisby nfrisby self-assigned this Oct 2, 2023
@nfrisby
Copy link
Contributor Author

nfrisby commented Oct 3, 2023

So far I've received feedback wondering if Mithril supplants this. I look forward to learning more about Mithril during the Consensus Office hours next week (2023 Oct 12), after which I can hopefully compare and contrast them here.

Edit: my initial guess is that Mithril would supplant it, but that creating Mithril snapshots is more involved than announcing a list of points. However, even "announcing" a list of points would require a process for signing them, so a significant portion of the overall Mithril process' "weight" is probably necessary for the lightweight mechanism of this Issue to actually be utilized by IOG/EMURGO/CF/etc.

@amesgen
Copy link
Member

amesgen commented Jun 24, 2024

Duplicate of #449

@amesgen amesgen marked this as a duplicate of #449 Jun 24, 2024
@amesgen amesgen closed this as completed Jun 24, 2024
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

2 participants