pub fn beefy_block_import_and_links<B, BE, RuntimeApi, I>(
    wrapped_block_import: I,
    backend: Arc<BE>,
    runtime: Arc<RuntimeApi>,
    prometheus_registry: Option<Registry>
) -> (BeefyBlockImport<B, BE, RuntimeApi, I>, BeefyVoterLinks<B>, BeefyRPCLinks<B>)
where B: Block, BE: Backend<B>, I: BlockImport<B, Error = Error> + Send + Sync, RuntimeApi: ProvideRuntimeApi<B> + Send + Sync, RuntimeApi::Api: BeefyApi<B, AuthorityId>,
Expand description

Make block importer and link half necessary to tie the background voter to it.