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

avoid comments about (3f + 1) and (2f + 1) #2526

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

bendyarm
Copy link
Contributor

@bendyarm bendyarm commented Aug 5, 2024

Motivation

In snarkvm_ledger_committee, quorum_threshold is correctly calculated as N - f.
Since N is not always 3f + 1 (it could be 3f + 2 or 3f + 3),
the quorum threshold is not always 2f + 1.

This PR changes some comments to avoid the imprecise 3f + 1 and 2f + 1.

NOTE: no need for CI to pass since only comments were changed.

vicsn
vicsn previously approved these changes Aug 5, 2024
Copy link
Contributor

@raychu86 raychu86 left a comment

Choose a reason for hiding this comment

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

LGTM!

@zosorock zosorock merged commit 4491a6e into AleoNet:staging Oct 15, 2024
76 of 83 checks passed
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.

5 participants