pub fn set_keygen_threshold<T: Config>(new_threshold: u16)
Expand description

Set the pending keygen threshold for the session following the next session.

We cannot assume that the next DKG has not already completed keygen. After all, if we are in a new session the next DKG may have already completed. Therefore, when we update the thresholds we are updating a threshold that will become the next threshold after the next session update.

  • origin - The account origin.
  • new_threshold - The new keygen threshold for the DKG.

Warning: Doc-Only

This function is an automatically generated, and is doc-only, uncallable stub. See the real version in Pallet::set_keygen_threshold.