/// Create a new `DkgKeyManager`
Create a new `DkgKeyManager`
Create a new ` DkgKeyManager `
pub fn new(
        metrics_registry: MetricsRegistry,
        crypto: Arc<dyn ConsensusCrypto>,
        logger: ReplicaLogger,
    ) -> Self {
        Self {
            crypto,
            metrics: Metrics::new(&metrics_registry),
            logger,
            last_dkg_summary_height: Default::default(),
            last_cup_height: Default::default(),
            pending_transcript_loads: Default::default(),
            pending_key_removal: Default::default(),
        }
    }
pub fn new ( metrics_registry : MetricsRegistry , crypto : Arc < dyn ConsensusCrypto > , logger : ReplicaLogger , ) -> Self { Self { crypto , metrics : Metrics :: new ( & metrics_registry ) , logger , last_dkg_summary_height : Default :: default ( ) , last_cup_height : Default :: default ( ) , pending_transcript_loads : Default :: default ( ) , pending_key_removal : Default :: default ( ) , } }
Create a new `DkgKeyManager`
Create a new ` DkgKeyManager `
metrics_registry
MetricsRegistry
crypto
Arc<dyn ConsensusCrypto>
logger
ReplicaLogger