Function sc_consensus_beefy::beefy_block_import_and_links
source · 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>)
Expand description
Make block importer and link half necessary to tie the background voter to it.