Type Alias sui_core::authority::StableSyncAuthoritySigner
source · pub type StableSyncAuthoritySigner = Pin<Arc<dyn Signer<AuthoritySignature> + Send + Sync>>;
Expand description
a Trait object for Signer
that is:
- Pin, i.e. confined to one place in memory (we don’t want to copy private keys).
- Sync, i.e. can be safely shared between threads.
Typically instantiated with Box::pin(keypair) where keypair is a KeyPair
Aliased Type§
struct StableSyncAuthoritySigner { /* private fields */ }