Skip to main content

validate_header

Function validate_header 

Source
pub fn validate_header(header: &Header, max_payload_size: u32) -> Result<()>
Expand description

Validate a header for protocol compliance (standalone function).