referrerpolicy=no-referrer-when-downgrade
pub fn check_message_signature_with_buffer<H, N>(
    message: &Message<H, N>,
    id: &Public,
    signature: &Signature,
    round: u64,
    set_id: u64,
    buf: &mut Vec<u8>,
) -> bool
where H: Encode, N: Encode,
Expand description

Check a message signature by encoding the message as a localized payload and verifying the provided signature using the expected authority id. The encoding necessary to verify the signature will be done using the given buffer, the original content of the buffer will be cleared.