Function sp_consensus::evaluation::evaluate_initial[][src]

pub fn evaluate_initial<Block: BlockT>(
    proposal: &Block,
    parent_hash: &<Block as BlockT>::Hash,
    parent_number: <<Block as BlockT>::Header as HeaderT>::Number,
    max_block_size: usize
) -> Result<()>

Attempt to evaluate a substrate block as a node block, returning error upon any initial validity checks failing.