Cardinal-Cryptography / AlephBFT

Rust implementation of Aleph consensus protocol
https://cardinal-cryptography.github.io/AlephBFT/index.html
Apache License 2.0
56 stars 28 forks source link

A0-544: prepare alerts backup #321

Closed woocash2 closed 1 year ago

woocash2 commented 1 year ago

Introduce BackupItem - an enum which encapsulates different types of data written to backup. Briefly, backup is now prepared to contain:

The split between own and network alerts is made because we want to perform different steps for them after having them saved in the backup.

Adding BackupItem required to adjust runway and test cases for backup.

In this pr, alerter doesn't interact with the backup yet.

github-actions[bot] commented 1 year ago

Please make sure the following happened