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

IF: Filter duplicate votes #1672

Merged
merged 3 commits into from
Sep 25, 2023
Merged

IF: Filter duplicate votes #1672

merged 3 commits into from
Sep 25, 2023

Conversation

fcecin
Copy link

@fcecin fcecin commented Sep 23, 2023

  • qc_chain does not aggregate a signature from a finalizer that has already voted on a proposal
  • added test_pacemaker::duplicate()
  • added hotstuff_8 unit test to test for duplicate votes

This fix is related to #1548 (lack of duplicate filtering only manifests with message propagation)

- qc_chain does not aggregate a signature from a finalizer that has already voted on a proposal
- added test_pacemaker::duplicate()
- added hotstuff_8 unit test to test for duplicate votes

This fix is related to #1548 (lack of duplicate filtering only manifests with message propagation)
libraries/hotstuff/qc_chain.cpp Outdated Show resolved Hide resolved
libraries/hotstuff/test/test_pacemaker.cpp Outdated Show resolved Hide resolved
@fcecin fcecin merged commit 5d4fb21 into hotstuff_integration Sep 25, 2023
22 checks passed
@fcecin fcecin deleted the hs-double-vote branch September 25, 2023 12:29
@ericpassmore
Copy link
Contributor

Note:start
group: IF
category: MESSAGES
summary: Filter out duplicate messages to prevent infinite loops, and support configuration where BPs are not directly connected. BPs may be indirectly connected via a relay node.
Note:end

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.

4 participants