Alpha: introduce constant max_revelations_per_block
This commit is contained in:
parent
8e77382a61
commit
987e4a5314
@ -263,6 +263,7 @@ module Constants : sig
|
|||||||
val block_security_deposit: Tez.t
|
val block_security_deposit: Tez.t
|
||||||
val endorsement_security_deposit: Tez.t
|
val endorsement_security_deposit: Tez.t
|
||||||
val faucet_credit: Tez.t
|
val faucet_credit: Tez.t
|
||||||
|
val max_revelations_per_block: int
|
||||||
|
|
||||||
val preserved_cycles: context -> int
|
val preserved_cycles: context -> int
|
||||||
val blocks_per_cycle: context -> int32
|
val blocks_per_cycle: context -> int32
|
||||||
|
@ -44,6 +44,8 @@ let faucet_credit =
|
|||||||
let bootstrap_wealth =
|
let bootstrap_wealth =
|
||||||
Tez_repr.(mul_exn one 4_000_000)
|
Tez_repr.(mul_exn one 4_000_000)
|
||||||
|
|
||||||
|
let max_revelations_per_block = 32
|
||||||
|
|
||||||
type constants = {
|
type constants = {
|
||||||
preserved_cycles: int ;
|
preserved_cycles: int ;
|
||||||
blocks_per_cycle: int32 ;
|
blocks_per_cycle: int32 ;
|
||||||
|
@ -20,7 +20,8 @@ let max_block_length =
|
|||||||
let validation_passes =
|
let validation_passes =
|
||||||
Updater.[ { max_size = 32 * 1024 ; max_op = Some 32 } ; (* 32kB FIXME *)
|
Updater.[ { max_size = 32 * 1024 ; max_op = Some 32 } ; (* 32kB FIXME *)
|
||||||
{ max_size = 32 * 1024 ; max_op = None } ; (* 32kB FIXME *)
|
{ max_size = 32 * 1024 ; max_op = None } ; (* 32kB FIXME *)
|
||||||
{ max_size = 32 * 1024 ; max_op = Some 32 } ; (* 32kB FIXME *)
|
{ max_size = 32 * 1024 ; (* 32kB FIXME *)
|
||||||
|
max_op = Some Alpha_context.Constants.max_revelations_per_block } ;
|
||||||
{ max_size = 512 * 1024 ; max_op = None } ] (* 512kB *)
|
{ max_size = 512 * 1024 ; max_op = None } ] (* 512kB *)
|
||||||
|
|
||||||
let rpc_services = Services_registration.get_rpc_services ()
|
let rpc_services = Services_registration.get_rpc_services ()
|
||||||
|
Loading…
Reference in New Issue
Block a user