Function dkg_gadget::start_dkg_gadget
source · pub async fn start_dkg_gadget<B, BE, C>(dkg_params: DKGParams<B, BE, C>)where
B: Block,
BE: Backend<B> + Unpin + 'static,
C: Client<B, BE> + 'static,
C::Api: DKGApi<B, AuthorityId, NumberFor<B>, MaxProposalLength, MaxAuthorities>,
Expand description
Start the DKG gadget.
This is a thin shim around running and awaiting a DKG worker.