Преглед изворни кода

[consensus/constants] set zero initial distribution

mohab metwally пре 3 година
родитељ
комит
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();