Function pallet_dkg_metadata::pallet::dispatchables::set_signature_threshold
source · pub fn set_signature_threshold<T: Config>(new_threshold: u16)
Expand description
Set the pending signature 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 signature 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_signature_threshold
.