Function sp_consensus_grandpa::sign_message
source ยท pub fn sign_message<H, N>(
keystore: KeystorePtr,
message: Message<H, N>,
public: AuthorityId,
round: RoundNumber,
set_id: SetId,
) -> Option<SignedMessage<H, N, AuthoritySignature, AuthorityId>>
Expand description
Localizes the message to the given set and round and signs the payload.