-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix sbft consensus violation after attack
A correct replica would blindly put together a checkpointed batch with its locally preprepared one for the same sequence number. However, even correct replicas need to check if the payloads are the same, as Byzantine primary might had previously polluted a correct replica with a different preprepare. Added a test that was causing consensus violation in the previous code (now passing). Change-Id: I5417730cc95d05c619f445178fa93ecfe5043a70 Signed-off-by: Marko Vukolic <mvu@zurich.ibm.com>
- Loading branch information
Marko Vukolic
committed
Dec 21, 2016
1 parent
784d260
commit dc5fc64
Showing
2 changed files
with
60 additions
and
2 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