pub fn beefy_block_import_and_links<B, BE, RuntimeApi, I, AuthorityId>(
wrapped_block_import: I,
backend: Arc<BE>,
runtime: Arc<RuntimeApi>,
prometheus_registry: Option<Registry>,
) -> (BeefyBlockImport<B, BE, RuntimeApi, I, AuthorityId>, BeefyVoterLinks<B, AuthorityId>, BeefyRPCLinks<B, AuthorityId>)where
B: Block,
BE: Backend<B>,
I: BlockImport<B, Error = Error> + Send + Sync,
RuntimeApi: ProvideRuntimeApi<B> + Send + Sync,
RuntimeApi::Api: BeefyApi<B, AuthorityId>,
AuthorityId: AuthorityIdBound,Expand description
Make block importer and link half necessary to tie the background voter to it.