Function sc_consensus_manual_seal::seal_block
source · pub async fn seal_block<B, BI, SC, C, E, TP, CIDP, P>(
__arg0: SealBlockParams<'_, B, BI, SC, C, E, TP, CIDP, P>,
)where
B: BlockT,
BI: BlockImport<B, Error = Error> + Send + Sync + 'static,
C: HeaderBackend<B> + ProvideRuntimeApi<B>,
E: Environment<B>,
E::Proposer: Proposer<B, Proof = P>,
TP: TransactionPool<Block = B>,
SC: SelectChain<B>,
CIDP: CreateInherentDataProviders<B, ()>,
P: Encode + Send + Sync + 'static,
Expand description
seals a new block with the given params