It's the final constants

This commit is contained in:
Benjamin Canou 2018-06-30 14:11:22 +02:00
parent a5374a2494
commit 63159f2a5d
3 changed files with 4 additions and 4 deletions

View File

@ -86,7 +86,7 @@ let default_p2p_limits : P2p.limits = {
}
let default_p2p = {
expected_pow = 24. ;
expected_pow = 26. ;
bootstrap_peers = ["bootstrap.tezos.com"] ;
listen_addr = Some ("[::]:" ^ string_of_int default_p2p_port) ;
private_mode = false ;

View File

@ -80,12 +80,12 @@ let default = {
blocks_per_roll_snapshot = 256l ;
blocks_per_voting_period = 32768l ;
time_between_blocks =
List.map Period_repr.of_seconds_exn [ 60L ] ;
List.map Period_repr.of_seconds_exn [ 60L ; 75L ] ;
endorsers_per_block = 32 ;
hard_gas_limit_per_operation = Z.of_int 400_000 ;
hard_gas_limit_per_block = Z.of_int 4_000_000 ;
proof_of_work_threshold =
Int64.(sub (shift_left 1L 56) 1L) ;
Int64.(sub (shift_left 1L 46) 1L) ;
tokens_per_roll =
Tez_repr.(mul_exn one 10_000) ;
michelson_maximum_type_size = 1000 ;

View File

@ -52,7 +52,7 @@ let validation_passes =
Alpha_context.Constants.max_revelations_per_block +
(* allow 100 wallet activations or denunciations per block *) 100 in
Updater.[ { max_size = 32 * 1024 ; max_op = Some 32 } ; (* 32 endorsements *)
{ max_size = 64 * 1024 ; max_op = None } ; (* 64k of voting operations *)
{ max_size = 32 * 1024 ; max_op = None } ; (* 32k of voting operations *)
{ max_size = max_anonymous_operations * 1024 ;
max_op = Some max_anonymous_operations } ;
{ max_size = 512 * 1024 ; max_op = None } ] (* 512kB *)