lighthouse-pulse/lighthouse/state/chain_config.rs
2018-08-28 17:51:57 +10:00

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,
}
}
}