pub async fn verify_header_signature(
    sig: &Signature,
    header: &Header,
) -> SysValidationResult<bool> {
    if header.author().verify_signature(sig, header).await? {
        Ok(true)
    } else {
        Ok(false)
    }
}
/// Verify the signature for this header
Verify the signature for this header
Verify the signature for this header
pub async fn verify_header_signature(
    sig: &Signature,
    header: &Header,
) -> SysValidationResult<bool> {
    if header.author().verify_signature(sig, header).await? {
        Ok(true)
    } else {
        Ok(false)
    }
}
pub async fn verify_header_signature ( sig : & Signature , header : & Header , ) -> SysValidationResult < bool > { if header . author ( ) . verify_signature ( sig , header ) . await ? { Ok ( true ) } else { Ok ( false ) } }
Verify the signature for this header
Verify the signature for this header
sig
&Signature
header
&Header
sig
&Signature
header
&Header