-
Notifications
You must be signed in to change notification settings - Fork 512
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update_metadata: Introduce the Wave enum
Add the Wave enum which defines the wave for a given Updog seed as either the Initial wave, a General wave, or the Last wave. The associated functions has_started() and has_passed() use these types to simplify the logic in jitter() and update_ready(). Signed-off-by: Samuel Mendoza-Jonas <samjonas@amazon.com>
- Loading branch information
Showing
2 changed files
with
87 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters