-
Notifications
You must be signed in to change notification settings - Fork 112
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5274 from oasisprotocol/peternose/internal/refact…
…or-commitment-pool-processing go/roothash: Optimize and refactor commitment pool processing
- Loading branch information
Showing
3 changed files
with
268 additions
and
160 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
go/roothash: Optimize and refactor commitment pool processing | ||
|
||
The commitment pool processing has been optimized and refactored to improve | ||
code readability: | ||
|
||
- The discrepancy detection has been modified to immediately switch to | ||
the resolution mode when two commits differ, eliminating the necessity | ||
to wait for the proposer's commitment. | ||
|
||
- The discrepancy resolution process was redesigned to fail as soon | ||
as it becomes evident that no group of votes can attain the majority, | ||
such as when there are too many failures. |
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
Oops, something went wrong.