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

Store justifications obtained while warp syncing #2738

Open
bkchr opened this issue Dec 18, 2023 · 0 comments
Open

Store justifications obtained while warp syncing #2738

bkchr opened this issue Dec 18, 2023 · 0 comments
Labels
D0-easy Can be fixed primarily by duplicating and adapting code by an intermediate coder. I5-enhancement An additional feature request.

Comments

@bkchr
Copy link
Member

bkchr commented Dec 18, 2023

When a node warp syncs to the tip of the chain, it will need to download the justifications of every era change to proof the authority set changes. Currently we don't store these justifications and download them later. However, it would be smarter to directly store them as the node would then be instantly able to answer warp proof requests. We will also need to store the header of the blocks associated to these justifications.

@bkchr bkchr added I5-enhancement An additional feature request. D0-easy Can be fixed primarily by duplicating and adapting code by an intermediate coder. labels Dec 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D0-easy Can be fixed primarily by duplicating and adapting code by an intermediate coder. I5-enhancement An additional feature request.
Projects
Status: backlog
Development

No branches or pull requests

1 participant