lighthouse-pulse/src/state/config.rs

14 lines
232 B
Rust
Raw Normal View History

2018-07-10 09:08:36 +00:00
pub struct Config {
pub attester_count: u32,
pub max_validators: u32
}
impl Config {
pub fn standard() -> Self {
Self {
attester_count: 32,
max_validators: 2u32.pow(24)
}
}
}