Function cumulus_client_consensus_aura::import_queue
source · pub fn import_queue<'a, P, Block, I, C, S, CAW, CIDP>(
_: ImportQueueParams<'a, I, C, CIDP, S, CAW>
) -> Result<DefaultImportQueue<Block, C>, 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 = ConsensusError, Transaction = TransactionFor<C, Block>> + Send + Sync + 'static,
P: Pair + Send + Sync + 'static,
P::Public: Clone + Eq + Send + Sync + Hash + Debug + Codec,
P::Signature: Codec,
S: SpawnEssentialNamed,
CAW: CanAuthorWith<Block> + Send + Sync + 'static,
CIDP: CreateInherentDataProviders<Block, ()> + Sync + Send + 'static,
CIDP::InherentDataProviders: InherentDataProviderExt + Send + Sync,
Expand description
Start an import queue for the Aura consensus algorithm.