Function cumulus_client_consensus_aura::import_queue
source · pub fn import_queue<P, Block, I, C, S, CIDP>(
_: ImportQueueParams<'_, I, C, CIDP, S>,
) -> Result<DefaultImportQueue<Block>, Error>where
Block: BlockT,
C::Api: BlockBuilderApi<Block> + AuraApi<Block, P::Public> + ApiExt<Block>,
C: 'static + ProvideRuntimeApi<Block> + BlockOf + Send + Sync + AuxStore + UsageProvider<Block> + HeaderBackend<Block>,
I: BlockImport<Block, Error = Error> + ParachainBlockImportMarker + Send + Sync + 'static,
P: Pair + 'static,
P::Public: Debug + Codec,
P::Signature: Codec,
S: SpawnEssentialNamed,
CIDP: CreateInherentDataProviders<Block, ()> + Sync + Send + 'static,
CIDP::InherentDataProviders: InherentDataProviderExt + Send + Sync,
Expand description
Start an import queue for the Aura consensus algorithm.