Function sc_consensus_aura::start_aura[][src]

pub fn start_aura<P, B, C, SC, I, PF, SO, L, CIDP, BS, CAW, Error>(
    _: StartAuraParams<C, SC, I, PF, SO, L, CIDP, BS, CAW>
) -> Result<impl Future<Output = ()>, Error> where
    P: Pair + Send + Sync,
    P::Public: AppPublic + Hash + Member + Encode + Decode,
    P::Signature: TryFrom<Vec<u8>> + Hash + Member + Encode + Decode,
    B: BlockT,
    C: ProvideRuntimeApi<B> + BlockOf + ProvideCache<B> + AuxStore + HeaderBackend<B> + Send + Sync,
    C::Api: AuraApi<B, <P as Pair>::Public>,
    SC: SelectChain<B>,
    I: BlockImport<B, Transaction = TransactionFor<C, B>> + Send + Sync + 'static,
    PF: Environment<B, Error = Error> + Send + Sync + 'static,
    PF::Proposer: Proposer<B, Error = Error, Transaction = TransactionFor<C, B>>,
    SO: SyncOracle + Send + Sync + Clone,
    L: JustificationSyncLink<B>,
    CIDP: CreateInherentDataProviders<B, ()> + Send,
    CIDP::InherentDataProviders: InherentDataProviderExt + Send,
    BS: BackoffAuthoringBlocksStrategy<NumberFor<B>> + Send + 'static,
    CAW: CanAuthorWith<B> + Send,
    Error: Error + Send + From<Error> + 'static, 
Expand description

Start the aura worker. The returned future should be run in a futures executor.