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

Keep round's members indefinitely #331

Closed
poszu opened this issue Aug 1, 2023 · 0 comments · Fixed by #343
Closed

Keep round's members indefinitely #331

poszu opened this issue Aug 1, 2023 · 0 comments · Fixed by #343
Assignees
Labels
enhancement New feature or request

Comments

@poszu
Copy link
Contributor

poszu commented Aug 1, 2023

motivation

Currently, the list of members of the previous round is not persisted otherwise than with the proof (and available to fetch via /proofs endpoint). Members are kept in a per-round leveldb database (each round has its own DB). The DB is removed after the round is finished.

As a prerequisite for #200, we should keep present and past rounds' members indefinitely.

design proposal

  • centralize round's DB - use a single database shared by all rounds
  • each round would have its unique DB key prefix, i.e round-0- to be able to query members for a given round.
  • create a centralized service for round management (querying members and submitting challenges to the open round) - move the logic out of the poet worker service
@poszu poszu added the enhancement New feature or request label Aug 1, 2023
@poszu poszu self-assigned this Aug 1, 2023
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Dev team kanban Aug 1, 2023
@poszu poszu moved this from 📋 Backlog to 🏗 Doing in Dev team kanban Aug 1, 2023
@poszu poszu moved this from 🏗 Doing to 🔖 Next in Dev team kanban Aug 1, 2023
@poszu poszu moved this from 🔖 Next to 🏗 Doing in Dev team kanban Aug 4, 2023
@github-project-automation github-project-automation bot moved this from 🏗 Doing to ✅ Done in Dev team kanban Aug 23, 2023
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
Archived in project
Development

Successfully merging a pull request may close this issue.

1 participant