Function sp_consensus::import_queue::import_single_block
source · [−]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>
Expand description
Single block import function.