package tezos-protocol-002-PsYLVpVv

  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_revelations_per_block : int;
  4. max_operation_data_length : 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_revelations_per_block : int
val max_operation_data_length : 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. endorsers_per_block : int;
  8. hard_gas_limit_per_operation : Z.t;
  9. hard_gas_limit_per_block : Z.t;
  10. proof_of_work_threshold : int64;
  11. tokens_per_roll : Tez.t;
  12. michelson_maximum_type_size : int;
  13. seed_nonce_revelation_tip : Tez.t;
  14. origination_burn : Tez.t;
  15. block_security_deposit : Tez.t;
  16. endorsement_security_deposit : Tez.t;
  17. block_reward : Tez.t;
  18. endorsement_reward : Tez.t;
  19. cost_per_byte : Tez.t;
  20. hard_storage_limit_per_operation : Z.t;
}

Constants parameterized by context

val parametric_encoding : parametric Data_encoding.t
val parametric : context -> parametric
val preserved_cycles : context -> int
val blocks_per_cycle : context -> int32
val blocks_per_commitment : context -> int32
val blocks_per_roll_snapshot : context -> int32
val blocks_per_voting_period : context -> int32
val time_between_blocks : context -> Period.t list
val endorsers_per_block : context -> int
val hard_gas_limit_per_operation : context -> Z.t
val hard_gas_limit_per_block : context -> Z.t
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 block_reward : context -> Tez.t
val endorsement_reward : context -> Tez.t
val seed_nonce_revelation_tip : context -> Tez.t
val origination_burn : context -> Tez.t
val block_security_deposit : context -> Tez.t
val endorsement_security_deposit : context -> Tez.t
type t = {
  1. fixed : fixed;
  2. parametric : parametric;
}

All constants: fixed and parametric

val encoding : t Data_encoding.t