Function sp_finality_grandpa::check_message_signature [−][src]
pub fn check_message_signature<H, N>(
message: &Message<H, N>,
id: &AuthorityId,
signature: &AuthoritySignature,
round: RoundNumber,
set_id: SetId
) -> 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.