Function sc_consensus::import_queue::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.