pub fn new(metrics_registry: MetricsRegistry) -> Self {
        Self {
            validated: PoolSection::new(metrics_registry.clone(), POOL_DKG, POOL_TYPE_VALIDATED),
            unvalidated: PoolSection::new(metrics_registry, POOL_DKG, POOL_TYPE_UNVALIDATED),
            current_start_height: Height::from(1),
        }
    }
/// Instantiates a new DKG pool from the time source.
Instantiates a new DKG pool from the time source.
Instantiates a new DKG pool from the time source .
pub fn new(metrics_registry: MetricsRegistry) -> Self {
        Self {
            validated: PoolSection::new(metrics_registry.clone(), POOL_DKG, POOL_TYPE_VALIDATED),
            unvalidated: PoolSection::new(metrics_registry, POOL_DKG, POOL_TYPE_UNVALIDATED),
            current_start_height: Height::from(1),
        }
    }
pub fn new ( metrics_registry : MetricsRegistry ) -> Self { Self { validated : PoolSection :: new ( metrics_registry . clone ( ) , POOL_DKG , POOL_TYPE_VALIDATED ) , unvalidated : PoolSection :: new ( metrics_registry , POOL_DKG , POOL_TYPE_UNVALIDATED ) , current_start_height : Height :: from ( 1 ) , } }
Instantiates a new DKG pool from the time source.
Instantiates a new DKG pool from the time source .
metrics_registry
MetricsRegistry
metrics_registry
MetricsRegistry