in bft-lib/src/smr_context.rs [112:129]
fn hash(&self, message: &dyn Signable<Self::Hasher>) -> Self::HashValue;
fn verify(
&self,
author: Self::Author,
hash: Self::HashValue,
signature: Self::Signature,
) -> Result<()>;
/// The public key of this node.
fn author(&self) -> Self::Author;
/// Sign a message using the private key of this node.
// TODO: make async to enable HSM implementations.
fn sign(&mut self, hash: Self::HashValue) -> Self::Signature;
}
pub trait Storage {