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

consensus: ignore candidate with wrong prev_block_hash #1355

Merged
merged 25 commits into from
Feb 12, 2024

Conversation

herr-seppia
Copy link
Member

@herr-seppia herr-seppia commented Feb 8, 2024

Additionally:

  • Change quorum terminology to reflect new names defined in consensus: Implement new Validation and Ratification logic #1268
  • Refactor codebase to get rid of unused function arguments
  • Refactor codebase to be more idiomatic
  • Fix validation::collect_from_past from returning a final_result even if the quorum is not reached
  • Adapt node benches to previous PRs changes

Resolves #1183

@herr-seppia herr-seppia marked this pull request as ready for review February 8, 2024 10:38
ureeves
ureeves previously approved these changes Feb 8, 2024
Copy link
Member

@ureeves ureeves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Just some small things that shouldn't block merging.

consensus/src/commons.rs Show resolved Hide resolved
consensus/src/ratification/handler.rs Show resolved Hide resolved
consensus/src/user/committee.rs Show resolved Hide resolved
@herr-seppia herr-seppia self-assigned this Feb 8, 2024
fed-franz
fed-franz previously approved these changes Feb 9, 2024
Copy link
Contributor

@fed-franz fed-franz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@herr-seppia herr-seppia dismissed stale reviews from fed-franz and ureeves via 64c7619 February 9, 2024 14:30
@herr-seppia herr-seppia force-pushed the ignore-wrong_prevblock branch 2 times, most recently from c0c0b1a to c53fa21 Compare February 9, 2024 16:20
@herr-seppia herr-seppia force-pushed the ignore-wrong_prevblock branch 2 times, most recently from 4649a21 to e308fb6 Compare February 12, 2024 09:13
@herr-seppia herr-seppia force-pushed the ignore-wrong_prevblock branch from e38d14c to cbf9eb3 Compare February 12, 2024 09:54
@herr-seppia herr-seppia merged commit 9ffa209 into master Feb 12, 2024
6 checks passed
@herr-seppia herr-seppia deleted the ignore-wrong_prevblock branch February 12, 2024 10:10
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.

consensus: Ignore candidate with wrong prev_block_hash
4 participants