Skip to main content

verify_header_chain

Function verify_header_chain 

Source
pub fn verify_header_chain(
    headers: &[BlockHeader],
) -> UtxoCommitmentResult<bool>
Expand description

Verify that a block header chain is valid (Proof of Work)

Verifies the chain of block headers from genesis to the commitment height, checking that each header satisfies proof of work requirements.