mirror of
https://gitlab.com/pulsechaincom/lighthouse-pulse.git
synced 2025-01-09 12:31:23 +00:00
14 lines
232 B
Rust
14 lines
232 B
Rust
|
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)
|
||
|
}
|
||
|
}
|
||
|
}
|