mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-07 03:22:20 +00:00
16 lines
294 B
Rust
16 lines
294 B
Rust
pub struct ChainConfig {
|
|
pub cycle_length: u8,
|
|
pub shard_count: u16,
|
|
pub min_committee_size: u64,
|
|
}
|
|
|
|
impl ChainConfig {
|
|
pub fn standard() -> Self {
|
|
Self {
|
|
cycle_length: 8,
|
|
shard_count: 1024,
|
|
min_committee_size: 128,
|
|
}
|
|
}
|
|
}
|