Function simperby_core::verify::verify_header_to_header
source · pub fn verify_header_to_header(
h1: &BlockHeader,
h2: &BlockHeader
) -> Result<(), Error>Expand description
Verifies whether h2 can be the direct child of h1.
Note that you still need to verify
- block body (other commits)
- finalization proof
- protocol version of the node binary.