Issue
The CommitteeSize function decides the committee size depending on the number of provisioners.
This is somewhat inconsistent with the committee 'size' as number of voting credits.
In particular, given how this function behaves, the committee size is set to less than ConsensusMaxCommitteeSize (64) if the number of provisioners is lower than this value.
Solution
We should decide if this behavior is correct and whether we want it or not.
Notes
It is important to note that this function is also used to compute the quorum for the consensus.
That is, the number of votes to reach the quorum is computed using CommitteeSize
Issue The
CommitteeSize
function decides the committee size depending on the number of provisioners. This is somewhat inconsistent with the committee 'size' as number of voting credits.In particular, given how this function behaves, the committee size is set to less than
ConsensusMaxCommitteeSize
(64) if the number of provisioners is lower than this value.Solution We should decide if this behavior is correct and whether we want it or not.
Notes It is important to note that this function is also used to compute the
quorum
for the consensus. That is, the number of votes to reach the quorum is computed usingCommitteeSize