darkfi::validator::verification

Function verify_genesis_block

Source
pub async fn verify_genesis_block(
    overlay: &BlockchainOverlayPtr,
    block: &BlockInfo,
    block_target: u32,
) -> Result<()>
Expand description

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