pub fn amortize_excess_key_shares(validators: &mut [(Public, u64)])
Expand description

For a set of validators whose key shares may exceed the maximum, reduce until they equal the maximum.

Reduction occurs by reducing each validator in a reverse round-robin.