Function pallet_dkg_metadata::pallet::dispatchables::submit_public_key
source · pub fn submit_public_key<T: Config>(keys_and_signatures: AggregatedPublicKeys)
Expand description
Submits and stores the active public key for the genesis session into the on-chain storage. This is primarily used to separate the genesis public key submission from non-genesis rounds.
Can only be submitted by the current authorities. It is also required that a
SignatureThreshold
of submissions is reached in order to successfully
store the public key on-chain.
origin
- The account origin.keys_and_signatures
- The aggregated public keys and signatures for possible current DKG public keys.
Warning: Doc-Only
This function is an automatically generated, and is doc-only, uncallable
stub. See the real version in
Pallet::submit_public_key
.