swh:1:snp:9c27352633c4639a943e316050a7b904f57900e2
Raw File
Tip revision: 90f9ab420048feb8be1b125ee08f9e1d606960c3 authored by Grégoire Henry on 19 August 2017, 10:41:29 UTC
Makefile: fix `node.top`
Tip revision: 90f9ab4
alphanet_constants.patch
diff --git a/src/proto/alpha/constants_repr.ml b/src/proto/alpha/constants_repr.ml
--- a/src/proto/alpha/constants_repr.ml
+++ b/src/proto/alpha/constants_repr.ml
@@ -50,15 +50,14 @@ let read_public_key s =
   Ed25519.Public_key.of_bytes (Bytes.of_string (Hex_encode.hex_decode s))
 
 let default = {
-  cycle_length = 2048l ;
-  voting_period_length = 32768l ;
+  cycle_length = 64l ;
+  voting_period_length = 1024l ;
   time_before_reward =
     Period_repr.of_seconds_exn
-      (* One year in seconds *)
-      Int64.(mul 365L (mul 24L 3600L)) ;
+      Int64.(mul 12L 3600L) ;
   slot_durations =
-    List.map Period_repr.of_seconds_exn [ 60L ] ;
-  first_free_mining_slot = 16 ;
+    List.map Period_repr.of_seconds_exn [ 60L ; 30L ; 30L ; 30L ; 10L ] ;
+  first_free_mining_slot = 4 ;
   max_signing_slot = 15 ;
   instructions_per_transaction = 16 * 1024 ;
   proof_of_work_threshold =
back to top