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

Ways to improve relayer sync on startup #75

Open
3 tasks
r0wdy1 opened this issue Oct 10, 2022 · 1 comment
Open
3 tasks

Ways to improve relayer sync on startup #75

r0wdy1 opened this issue Oct 10, 2022 · 1 comment
Assignees

Comments

@r0wdy1
Copy link

r0wdy1 commented Oct 10, 2022

  1. Create a regular job to backup the relayer's database files for
  • transactions
  • state roots
  • nullifiers

The job copies all the files to a newly created folder in a specified path. Only N last backups are needed, so the oldest one is deleted whenever there is already N backups stored.

  1. The relayer startup code must be modified so that external backup files could be used as a starting point. The path must be passed as an argument
@ulyanas
Copy link

ulyanas commented Oct 14, 2022

  1. First step would be to test reorgs and similar cases - @r0wdy1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants