-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add message timestamp validation to Aggregator * Add `Clock` abstraction to core * Add `MESSAGE_SUBMISSION_TIMEOUT` constant * Validate message against current system timestamp - Ignores old messages * Change checkpoint task interval * Use proper timestamp as seconds * Use `SystemClock` in tests by default - Preserves old behavior * Fix tests - Use valid timestamps * Remove aggregator options - Ended up not being used in tests * Initialize `clock` to `SystemClock` by default * Use values instead of pointers for `core.SystemClock` * Include `MESSAGE_BLS_AGGREGATION_TIMEOUT` * feat: Map message expired error in aggregator rpc server --------- Co-authored-by: Franco Barpp Gomes <[email protected]>
- Loading branch information
1 parent
4595854
commit 3258e73
Showing
6 changed files
with
95 additions
and
8 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
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
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