sc_consensus::import_queue

Function import_single_block

source
pub async fn import_single_block<B: BlockT, V: Verifier<B>>(
    import_handle: &mut impl BlockImport<B, Error = Error>,
    block_origin: BlockOrigin,
    block: IncomingBlock<B>,
    verifier: &V,
) -> Result<BlockImportStatus<NumberFor<B>>, BlockImportError>
Expand description

Single block import function.