Function beefy_gadget::start_beefy_gadget
source · pub async fn start_beefy_gadget<B, BE, C, N, P, R>(
beefy_params: BeefyParams<B, BE, C, N, P, R>
)where
B: Block,
BE: Backend<B>,
C: Client<B, BE> + BlockBackend<B>,
P: PayloadProvider<B>,
R: ProvideRuntimeApi<B>,
R::Api: BeefyApi<B> + MmrApi<B, MmrRootHash, NumberFor<B>>,
N: GossipNetwork<B> + NetworkRequest + SyncOracle + Send + Sync + 'static,
Expand description
Start the BEEFY gadget.
This is a thin shim around running and awaiting a BEEFY worker.