Skip to content
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

go/roothash: Optimize and refactor commitment pool processing #5274

Merged

Conversation

peternose
Copy link
Contributor

@peternose peternose commented May 26, 2023

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.

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.
@peternose peternose force-pushed the peternose/internal/refactor-commitment-pool-processing branch from 23b4ed3 to e7b4a26 Compare May 27, 2023 01:22
@peternose peternose marked this pull request as ready for review May 27, 2023 02:02
@peternose peternose merged commit 4989aa3 into master May 30, 2023
3 checks passed
@peternose peternose deleted the peternose/internal/refactor-commitment-pool-processing branch May 30, 2023 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants