Skip to main content

MAXIMUM_VALIDATORS

Constant MAXIMUM_VALIDATORS 

Source
const MAXIMUM_VALIDATORS: NonZeroU32;
Expand description

The maximum number of validators ever permitted in the DKG ceremony.

u16::MAX is 2^16-1 validators, i.e. 65536, which is probably more than we will ever need. An alternative would be u8::MAX but that feels a bit too limited. There is extremely little cost doing u16::MAX instead.