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