package octez-protocol-011-PtHangz2-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Protocol constants overriding logic.

type t = {
  1. preserved_cycles : int option;
  2. blocks_per_cycle : int32 option;
  3. blocks_per_commitment : int32 option;
  4. blocks_per_roll_snapshot : int32 option;
  5. blocks_per_voting_period : int32 option;
  6. time_between_blocks : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Period.t list option;
  7. minimal_block_delay : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Period.t option;
  8. endorsers_per_block : int option;
  9. hard_gas_limit_per_operation : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Gas.Arith.integral option;
  10. hard_gas_limit_per_block : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Gas.Arith.integral option;
  11. proof_of_work_threshold : int64 option;
  12. tokens_per_roll : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Tez.t option;
  13. seed_nonce_revelation_tip : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Tez.t option;
  14. origination_size : int option;
  15. block_security_deposit : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Tez.t option;
  16. endorsement_security_deposit : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Tez.t option;
  17. baking_reward_per_endorsement : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Tez.t list option;
  18. endorsement_reward : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Tez.t list option;
  19. cost_per_byte : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Tez.t option;
  20. hard_storage_limit_per_operation : Z.t option;
  21. quorum_min : int32 option;
  22. quorum_max : int32 option;
  23. min_proposal_quorum : int32 option;
  24. initial_endorsers : int option;
  25. delay_per_missing_endorsement : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Period.t option;
  26. liquidity_baking_subsidy : Tezos_protocol_011_PtHangz2.Protocol.Alpha_context.Tez.t option;
  27. liquidity_baking_sunset_level : int32 option;
  28. liquidity_baking_escape_ema_threshold : int32 option;
  29. chain_id : Tezos_base.TzPervasives.Chain_id.t option;
  30. timestamp : Tezos_base.TzPervasives.Time.Protocol.t option;
}

Equivalent of Constants.parametric with additionally chain_id and timestamp but each field is wrapped in an option. Some is an override, None means "Use the default value".

Shamefully copied from Constants_repr.parametric_encoding and adapted (opt instead of req).

val no_overrides : t
type field =
  1. | O : {
    1. name : string;
    2. override_value : 'a option;
    3. pp : Stdlib.Format.formatter -> 'a -> unit;
    } -> field

Existential wrapper to support heterogeneous lists/maps.

val field_pp : Stdlib.Format.formatter -> field -> unit
OCaml

Innovation. Community. Security.