From 9808d5c2098437432b16f237a8f38505faf31c52 Mon Sep 17 00:00:00 2001 From: Paul Hauner Date: Thu, 23 Aug 2018 15:12:50 +1000 Subject: [PATCH] Clear out old state config --- lighthouse/state/config.rs | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/lighthouse/state/config.rs b/lighthouse/state/config.rs index e3dc0bd40..63aa7de02 100644 --- a/lighthouse/state/config.rs +++ b/lighthouse/state/config.rs @@ -1,27 +1,11 @@ -use super::utils::types::U256; - 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 attester_reward: i64, + pub cycle_length: u8, } impl Config { pub fn standard() -> Self { Self { - 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), - attester_reward: 1, + cycle_length: 8, } } }