Add fields to config
This commit is contained in:
parent
e5979ddca3
commit
c79db16ffb
@ -4,10 +4,11 @@ pub struct Config {
|
||||
pub attester_count: u64,
|
||||
pub max_validators: u64,
|
||||
pub shard_count: u16,
|
||||
pub epoch_length: u64,
|
||||
pub notaries_per_crosslink: u16,
|
||||
pub default_balance: U256,
|
||||
pub eject_balance: U256
|
||||
|
||||
pub eject_balance: U256,
|
||||
pub attester_reward: i64,
|
||||
}
|
||||
|
||||
impl Config {
|
||||
@ -16,9 +17,11 @@ impl Config {
|
||||
attester_count: 32,
|
||||
max_validators: 2u64.pow(24),
|
||||
shard_count: 20,
|
||||
epoch_length: 5,
|
||||
notaries_per_crosslink: 100,
|
||||
default_balance: U256::from(32000),
|
||||
eject_balance: U256::from(16000)
|
||||
eject_balance: U256::from(16000),
|
||||
attester_reward: 1,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user