Skip to main content

validate_block

Function validate_block 

Source
fn validate_block(block: Block, requested: &BlockHash) -> Result<Block>
Expand description

Check payload integrity against the caller’s requested header hash.

This does not validate chain selection or proof of work: the configured Esplora server remains a trusted source of block hashes.