Просмотр исходного кода

[consensus/constants] set zero initial distribution

mohab metwally 3 лет назад
Родитель
Сommit
43ab6d2030
1 измененных файлов с 3 добавлено и 2 удалено
  1. 3 2
      src/consensus/constants.rs

+ 3 - 2
src/consensus/constants.rs

@@ -47,9 +47,10 @@ lazy_static! {
 
 
     /// Total sum of initial staking coins for the testnet chain
-    pub static ref TESTNET_INITIAL_DISTRIBUTION: u64 = 1000;
+    pub static ref TESTNET_INITIAL_DISTRIBUTION: u64 = 0;
 
-    // Commonly used Float10
+    pub static ref FLOAT10_EPSILON: Float10 = Float10::try_from("1").unwrap();
+    // Commonly used Float10 
     pub static ref FLOAT10_NEG_TWO: Float10 = Float10::try_from("-2").unwrap();
     pub static ref FLOAT10_NEG_ONE: Float10 = Float10::try_from("-1").unwrap();
     pub static ref FLOAT10_ZERO: Float10 = Float10::try_from("0").unwrap();