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

Ignore equivocating and duplicate messages from a sender #200

Merged
merged 1 commit into from May 14, 2024

Conversation

anorth
Copy link
Member

@anorth anorth commented May 7, 2024

Closes #153

Copy link
Member

@Stebalien Stebalien left a comment

Choose a reason for hiding this comment

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

LGTM with a caveat.

// create an aggregate for these prefixes.
// This is intended for use in the QUALITY phase.
// Ignores any subsequent values from a sender from which a value has already been received.
func (q *quorumState) ReceiveEachPrefix(sender ActorID, values ECChain) {
Copy link
Member

Choose a reason for hiding this comment

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

Did you mean to use this? Or is this for a future patch?

Copy link
Member Author

@anorth anorth May 14, 2024

Choose a reason for hiding this comment

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

Thanks, good catch. A call to this replaces the similar code in the QUALITY_PHASE case in receieveOne.

gpbft/gpbft.go Show resolved Hide resolved
Copy link
Collaborator

@ranchalp ranchalp left a comment

Choose a reason for hiding this comment

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

LGTM!

@anorth anorth enabled auto-merge May 14, 2024 01:24
@anorth anorth added this pull request to the merge queue May 14, 2024
Merged via the queue into main with commit 48be021 May 14, 2024
3 checks passed
@anorth anorth deleted the anorth/drop-equivs branch May 14, 2024 01:34
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.

Drop equivocations
3 participants