package tezos-protocol-alpha

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type fixed = {
  1. proof_of_work_nonce_size : int;
  2. nonce_length : int;
  3. max_anon_ops_per_block : int;
  4. max_operation_data_length : int;
  5. max_proposals_per_delegate : int;
}

Fixed constants

val fixed_encoding : fixed Data_encoding.t
val fixed : fixed
val proof_of_work_nonce_size : int
val nonce_length : int
val max_anon_ops_per_block : int
val max_operation_data_length : int
val max_proposals_per_delegate : int
type parametric = {
  1. preserved_cycles : int;
  2. blocks_per_cycle : int32;
  3. blocks_per_commitment : int32;
  4. blocks_per_roll_snapshot : int32;
  5. blocks_per_voting_period : int32;
  6. time_between_blocks : Period.t list;
  7. minimal_block_delay : Period.t;
  8. endorsers_per_block : int;
  9. hard_gas_limit_per_operation : Gas.Arith.integral;
  10. hard_gas_limit_per_block : Gas.Arith.integral;
  11. proof_of_work_threshold : int64;
  12. tokens_per_roll : Tez.t;
  13. michelson_maximum_type_size : int;
  14. seed_nonce_revelation_tip : Tez.t;
  15. origination_size : int;
  16. block_security_deposit : Tez.t;
  17. endorsement_security_deposit : Tez.t;
  18. baking_reward_per_endorsement : Tez.t list;
  19. endorsement_reward : Tez.t list;
  20. cost_per_byte : Tez.t;
  21. hard_storage_limit_per_operation : Z.t;
  22. quorum_min : int32;
  23. quorum_max : int32;
  24. min_proposal_quorum : int32;
  25. initial_endorsers : int;
  26. delay_per_missing_endorsement : Period.t;
  27. liquidity_baking_subsidy : Tez.t;
  28. liquidity_baking_sunset_level : int32;
  29. liquidity_baking_escape_ema_threshold : int32;
}

Constants parameterized by context

val parametric_encoding : parametric Data_encoding.t
val parametric : context -> parametric
val preserved_cycles : context -> int
val time_between_blocks : context -> Period.t list
val minimal_block_delay : context -> Period.t
val endorsers_per_block : context -> int
val initial_endorsers : context -> int
val delay_per_missing_endorsement : context -> Period.t
val hard_gas_limit_per_operation : context -> Gas.Arith.integral
val hard_gas_limit_per_block : context -> Gas.Arith.integral
val cost_per_byte : context -> Tez.t
val hard_storage_limit_per_operation : context -> Z.t
val proof_of_work_threshold : context -> int64
val tokens_per_roll : context -> Tez.t
val michelson_maximum_type_size : context -> int
val baking_reward_per_endorsement : context -> Tez.t list
val endorsement_reward : context -> Tez.t list
val seed_nonce_revelation_tip : context -> Tez.t
val origination_size : context -> int
val block_security_deposit : context -> Tez.t
val endorsement_security_deposit : context -> Tez.t
val quorum_min : context -> int32
val quorum_max : context -> int32
val min_proposal_quorum : context -> int32
val liquidity_baking_subsidy : context -> Tez.t
val liquidity_baking_sunset_level : context -> int32
val liquidity_baking_escape_ema_threshold : context -> int32
type t = {
  1. fixed : fixed;
  2. parametric : parametric;
}

All constants: fixed and parametric

val encoding : t Data_encoding.t
OCaml

Innovation. Community. Security.