AleoNet / snarkVM

A Virtual Machine for Zero-Knowledge Executions
https://snarkvm.org
Apache License 2.0
1.08k stars 1.5k forks source link

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

Closed bendyarm closed 1 month ago

bendyarm commented 3 months ago

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.