ligo/scripts/alphanet_constants.patch

26 lines
1020 B
Diff
Raw Normal View History

diff --git a/src/lib_embedded_protocol_alpha/src/constants_repr.ml b/src/lib_embedded_protocol_alpha/src/constants_repr.ml
2017-11-28 02:26:18 +04:00
index 61e79c8a..f91ce282 100644
--- a/src/lib_embedded_protocol_alpha/src/constants_repr.ml
+++ b/src/lib_embedded_protocol_alpha/src/constants_repr.ml
2017-11-28 02:26:18 +04:00
@@ -49,15 +49,14 @@ let read_public_key s =
2017-03-09 17:43:59 +04:00
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)) ;
2017-09-22 19:46:50 +04:00
+ Int64.(mul 6L 3600L) ; (* 6 hours *)
2017-03-09 17:43:59 +04:00
slot_durations =
- List.map Period_repr.of_seconds_exn [ 60L ] ;
2017-11-01 15:13:23 +04:00
- first_free_baking_slot = 16 ;
2017-03-09 17:43:59 +04:00
+ List.map Period_repr.of_seconds_exn [ 60L ; 30L ; 30L ; 30L ; 10L ] ;
2017-11-01 15:13:23 +04:00
+ first_free_baking_slot = 4 ;
2017-03-09 17:43:59 +04:00
max_signing_slot = 15 ;
instructions_per_transaction = 16 * 1024 ;
proof_of_work_threshold =