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

A0-544: backup inject #360

Closed
wants to merge 9 commits into from
Closed

A0-544: backup inject #360

wants to merge 9 commits into from

Conversation

woocash2
Copy link
Contributor

@woocash2 woocash2 commented Oct 19, 2023

Injecting loaded backup into AlephBFT components.
Added BackupInjector - a struct responsible for filling the initial state of AlephBFT and making components ready to start after loading data from backup. It fills alerter_handler, rmc_handler and rmc_scheduler with the appropriate state by simulating their execution. It also fills runway with its appropriate state (collection of forkers). Injector also yields the collection of forking notifications which have to be sent to the Runway.

Testing

  • verified that blockchain and ordering examples work after the changes

@woocash2 woocash2 changed the title A0 544 backup inject A0-544: backup inject Oct 19, 2023
@github-actions
Copy link

Please make sure the following happened

  • Appropriate tests created
  • Infrastructure updated accordingly
  • Updated existing documentation
  • New documentation created
  • Version bumped if breaking changes

@woocash2 woocash2 closed this Oct 30, 2023
@woocash2 woocash2 deleted the A0-544-backup-inject branch October 30, 2023 09:55
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

Successfully merging this pull request may close these issues.

1 participant