Function sc_consensus_manual_seal::run_manual_seal [−][src]
pub async fn run_manual_seal<B, BI, CB, E, C, TP, SC, CS, CIDP>(
__arg0: ManualSealParams<B, BI, E, C, TP, SC, CS, CIDP>
) where
B: BlockT + 'static,
BI: BlockImport<B, Error = Error, Transaction = TransactionFor<C, B>> + Send + Sync + 'static,
C: HeaderBackend<B> + Finalizer<B, CB> + ProvideRuntimeApi<B> + 'static,
CB: ClientBackend<B> + 'static,
E: Environment<B> + 'static,
E::Proposer: Proposer<B, Transaction = TransactionFor<C, B>>,
CS: Stream<Item = EngineCommand<<B as BlockT>::Hash>> + Unpin + 'static,
SC: SelectChain<B> + 'static,
TransactionFor<C, B>: 'static,
TP: TransactionPool<Block = B>,
CIDP: CreateInherentDataProviders<B, ()>,
Expand description
Creates the background authorship task for the manual seal engine.