Function sc_consensus_aura::import_queue[][src]

pub fn import_queue<'a, P, Block, I, C, S, CAW, CIDP>(
    _: ImportQueueParams<'a, Block, I, C, S, CAW, CIDP>
) -> Result<DefaultImportQueue<Block, C>, Error> where
    Block: BlockT,
    C::Api: BlockBuilderApi<Block> + AuraApi<Block, <P as Pair>::Public> + ApiExt<Block>,
    C: 'static + ProvideRuntimeApi<Block> + BlockOf + ProvideCache<Block> + Send + Sync + AuxStore + UsageProvider<Block> + HeaderBackend<Block>,
    I: BlockImport<Block, Error = ConsensusError, Transaction = TransactionFor<C, Block>> + Send + Sync + 'static,
    DigestItemFor<Block>: CompatibleDigestItem<P::Signature>,
    P: Pair + Send + Sync + 'static,
    P::Public: Clone + Eq + Send + Sync + Hash + Debug + Encode + Decode,
    P::Signature: Encode + Decode,
    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.