pub trait Signer: Send + Sync {
// Required methods
fn sign(&self, message: &[u8]) -> Signature;
fn public_key(&self) -> PublicKey;
fn validator_id(&self) -> ValidatorId;
}pub trait Signer: Send + Sync {
// Required methods
fn sign(&self, message: &[u8]) -> Signature;
fn public_key(&self) -> PublicKey;
fn validator_id(&self) -> ValidatorId;
}