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

Add auto pruning in stores #504

Closed
8 tasks done
jpraynaud opened this issue Sep 15, 2022 · 1 comment · Fixed by #509
Closed
8 tasks done

Add auto pruning in stores #504

jpraynaud opened this issue Sep 15, 2022 · 1 comment · Fixed by #509
Assignees
Labels
D-easy Difficulty: easy P-medium Priority: medium task

Comments

@jpraynaud
Copy link
Member

jpraynaud commented Sep 15, 2022

Issue

In order to keep stores with low overhead, we need to prune some stores of the Aggregator/Signers (depending on business rules)

Tasks

In Aggregator:

  • Protocol Parameters (5 last epochs)
  • Single Signatures (5 last epochs)
  • Verification Keys (5 last epochs)
  • Stake (5 last epochs)

In Signer:

  • Protocol Initializer (5 last epochs)
  • Stake (5 last epochs)

Documentation:

  • Aggregator
  • Signer
@ghubertpalo
Copy link
Collaborator

The retention period should be configurable per environment so dev & testing env could keep data for debug purposes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
D-easy Difficulty: easy P-medium Priority: medium task
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants