referrerpolicy=no-referrer-when-downgrade

Function sc_consensus_manual_seal::run_instant_seal

source ·
pub async fn run_instant_seal<B, BI, CB, E, C, TP, SC, CIDP, P>(
    __arg0: InstantSealParams<B, BI, E, C, TP, SC, 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>, SC: SelectChain<B> + 'static, TP: TransactionPool<Block = B>, CIDP: CreateInherentDataProviders<B, ()>, P: Encode + Send + Sync + 'static,
Expand description

runs the background authorship task for the instant seal engine. instant-seal creates a new block for every transaction imported into the transaction pool.