QuorumLikeConfig

Trait QuorumLikeConfig 

Source
pub trait QuorumLikeConfig: Sized {
    // Required methods
    fn quorum_type(&self) -> QuorumType;
    fn quorum_size(&self) -> u16;
    fn quorum_window(&self) -> u32;
    fn quorum_active_signers(&self) -> u16;
    fn quorum_rotation(&self) -> bool;
}
Expand description

A config suitable for a quorum configuration

Required Methods§

Source

fn quorum_type(&self) -> QuorumType

Quorum type

Source

fn quorum_size(&self) -> u16

Quorum size

Source

fn quorum_window(&self) -> u32

Quorum DKG interval

Source

fn quorum_active_signers(&self) -> u16

Quorum active signers count

Source

fn quorum_rotation(&self) -> bool

Quorum rotation (dip24) or classic

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§