-
Notifications
You must be signed in to change notification settings - Fork 7
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
Drop messages that are no longer useful for GPBFT progression #649
Conversation
4cb81c0
to
e6a8851
Compare
Fuzz test failed on commit 4cb81c0. To troubleshoot locally, download the seed corpus using GitHub CLI by running: gh run download 10960282602 -n testdata Alternatively, download directly from here. |
Fuzz test failed on commit e6a8851. To troubleshoot locally, download the seed corpus using GitHub CLI by running: gh run download 10960300308 -n testdata Alternatively, download directly from here. |
1b50bb8
to
92b32f2
Compare
Fuzz test failed on commit 92b32f2. To troubleshoot locally, download the seed corpus using GitHub CLI by running: gh run download 10973051853 -n testdata Alternatively, download directly from here. |
92b32f2
to
a0e155b
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #649 +/- ##
==========================================
- Coverage 76.94% 76.58% -0.37%
==========================================
Files 65 65
Lines 5487 5496 +9
==========================================
- Hits 4222 4209 -13
- Misses 861 878 +17
- Partials 404 409 +5
|
a0e155b
to
fb2badd
Compare
fb2badd
to
31e65c1
Compare
380fc6c
to
5c00dc0
Compare
628ff0a
to
a9c2397
Compare
13cb79b
to
9fad427
Compare
70639ba
to
7975dfe
Compare
7975dfe
to
984caa9
Compare
984caa9
to
7dda4e8
Compare
As a GPBFT instance progresses some messages become irrelevant, in that they do not effectively aid the progress of the instance for participants. Instead, GPBFT offers other built-in mechanisms to aid progress of lagging participants such as selective rebroadcast, propagation of DECIDE messages from the previous instance and finality certificate exchange. The changes here introduce a dedicated error type returned as part of message validation to signal that although a message is valid it is no longer relevant. This error type is then checked by pubsub to avoid further propagation of those messages. This reduces the redundant pubsub traffic for the network participants. Fixes #583
7dda4e8
to
0503f70
Compare
As a GPBFT instance progresses some messages become irrelevant, in that they do not effectively aid the progress of the instance for participants. Instead, GPBFT offers other built-in mechanisms to aid progress of lagging participants such as selective rebroadcast, propagation of DECIDE messages from the previous instance and finality certificate exchange.
The changes here introduce a dedicated error type returned as part of message validation to signal that although a message is valid it is no longer relevant. This error type is then checked by pubsub to avoid further propagation of those messages.
This reduces the redundant pubsub traffic for the network participants.
Fixes #583