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