verify_block

Function verify_block 

Source
pub async fn verify_block(
    overlay: &BlockchainOverlayPtr,
    diffs: &[SledDbOverlayStateDiff],
    module: &PoWModule,
    state_monotree: &mut Monotree<MemoryDb>,
    block: &BlockInfo,
    previous: &BlockInfo,
    verify_fees: bool,
) -> Result<()>
Expand description

Verify given BlockInfo, and apply it to the provided overlay.