-
Notifications
You must be signed in to change notification settings - Fork 210
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
certificate: prune from network after hdist layer #3588
Labels
Comments
3 tasks
countvonzero
changed the title
certificate: prune certificate from network after hdist layer
certificate: prune from network after hdist layer
Sep 26, 2022
dshulyak
added
resource/storage
area/node
area/hare
and removed
milestone/first block
labels
Aug 28, 2023
bors bot
pushed a commit
that referenced
this issue
Sep 19, 2023
## Motivation Closes #3049 Closes #3588 ## Changes - prune data consistently with tortoise hdist distance. - proposals - certificates - proposal id<->tid mapping certificate is needed for consensus within hdist. the same distance is used for all for simplicity. - extract active set data from ballots and save them in activesets table. - vacuum and checkpoint database after migration 4 is complete this PR concludes the first update described #4984 (comment)
bors bot
pushed a commit
that referenced
this issue
Sep 19, 2023
## Motivation Closes #3049 Closes #3588 ## Changes - prune data consistently with tortoise hdist distance. - proposals - certificates - proposal id<->tid mapping certificate is needed for consensus within hdist. the same distance is used for all for simplicity. - extract active set data from ballots and save them in activesets table. - vacuum and checkpoint database after migration 4 is complete this PR concludes the first update described #4984 (comment)
bors bot
pushed a commit
that referenced
this issue
Sep 19, 2023
## Motivation Closes #3049 Closes #3588 ## Changes - prune data consistently with tortoise hdist distance. - proposals - certificates - proposal id<->tid mapping certificate is needed for consensus within hdist. the same distance is used for all for simplicity. - extract active set data from ballots and save them in activesets table. - vacuum and checkpoint database after migration 4 is complete this PR concludes the first update described #4984 (comment)
bors bot
pushed a commit
that referenced
this issue
Sep 19, 2023
## Motivation Closes #3049 Closes #3588 ## Changes - prune data consistently with tortoise hdist distance. - proposals - certificates - proposal id<->tid mapping certificate is needed for consensus within hdist. the same distance is used for all for simplicity. - extract active set data from ballots and save them in activesets table. - vacuum and checkpoint database after migration 4 is complete this PR concludes the first update described #4984 (comment)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
depends on #2921
when a new node is syncing in the network, it still needs to sync hare certificate for every layer since genesis, because the last layer in tortoise is the last synced layer.
we want to be able to prune certificate after for all layers before current - hdist when a node is syncing.
The text was updated successfully, but these errors were encountered: