Skip to main content

check_header

Function check_header 

Source
pub fn check_header(
    header: &Header,
    block_id: &BlockId,
) -> Result<(), BlockProofError>
Expand description

Check that header is the one behind block_id: that it hashes to the block hash and to the state id, the two values of a block id a quorum’s signature covers.