referrerpolicy=no-referrer-when-downgrade

Function sc_consensus_pow::import_queue

source ·
pub fn import_queue<B, Algorithm>(
    block_import: BoxBlockImport<B>,
    justification_import: Option<BoxJustificationImport<B>>,
    algorithm: Algorithm,
    spawner: &impl SpawnEssentialNamed,
    registry: Option<&Registry>,
) -> Result<PowImportQueue<B>, Error>
where B: BlockT, Algorithm: PowAlgorithm<B> + Clone + Send + Sync + 'static, Algorithm::Difficulty: Send,
Expand description

Import queue for PoW engine.