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

pub fn evaluate_initial<Block>(
    proposal: &Block,
    parent_hash: &<Block as Block>::Hash,
    parent_number: <<Block as Block>::Header as Header>::Number
) -> Result<(), Error> where
    Block: Block
Expand description

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