Function sc_consensus_aura::import_queue
source · pub fn import_queue<P, Block, I, C, S, CIDP>(
_: ImportQueueParams<'_, Block, I, C, S, CIDP>
) -> Result<DefaultImportQueue<Block>, Error>where
Block: BlockT,
C::Api: BlockBuilderApi<Block> + AuraApi<Block, <P as Pair>::Public> + ApiExt<Block>,
C: 'static + ProvideRuntimeApi<Block> + BlockOf + Send + Sync + AuxStore + UsageProvider<Block> + HeaderBackend<Block>,
I: BlockImport<Block, Error = ConsensusError> + Send + Sync + 'static,
P: Pair + 'static,
P::Public: Codec + Debug,
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.