dusk-network / dusk-blockchain

Reference implementation of the DUSK Network node, written in Golang
MIT License
102 stars 47 forks source link

Make CommitteeSize consistent with size #1520

Closed fed-franz closed 1 year ago

fed-franz commented 1 year ago

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

fed-franz commented 1 year ago

This Issue is linked to Discussion #1522