MystenLabs / mysticeti

Mysticeti: Low-Latency DAG Consensus with Fast Commit Path
Apache License 2.0
49 stars 25 forks source link

Support arbitrary large authority set #32

Closed lxfind closed 10 months ago

lxfind commented 10 months ago

This PR changes the authority set from u128 to a Vec. By default it's set to support 128 validators. If a larger index is set, it can automatically grow. While we could also support forcing the constructor to take the size of the committee (since it doesn't change for a given instance), it requires way too many refactoring which I am not sure if it's worth it.

lxfind commented 10 months ago

Updated using array instead of vec