Function sp_consensus::import_queue::import_single_block[][src]

pub fn import_single_block<B: BlockT, V: Verifier<B>, Transaction>(
    import_handle: &mut dyn BlockImport<B, Transaction = Transaction, Error = ConsensusError>,
    block_origin: BlockOrigin,
    block: IncomingBlock<B>,
    verifier: &mut V
) -> Result<BlockImportResult<NumberFor<B>>, BlockImportError>

Single block import function.