Function sp_consensus_grandpa::check_message_signature
source ยท pub fn check_message_signature<H, N>(
message: &Message<H, N>,
id: &AuthorityId,
signature: &AuthoritySignature,
round: RoundNumber,
set_id: SetId,
) -> bool
Expand description
Check a message signature by encoding the message as a localized payload and verifying the provided signature using the expected authority id.