package tezos-protocol-019-PtParisB

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

Module Tezos_raw_protocol_019_PtParisB.Gas_comparable_input_sizeSource

Gas_input_size includes the definitions for the different sizes used in the gas models of the protocol. They do not always represent memory sizes, but rather they can be seen as an information size. They are tailored to the models that use them, and should not be used for anything other than gas computation.

Gas_comparable_input_size is the restriction of Gas_input_size to comparable types.

Sourcetype t = int
Sourcetype micheline_size = {
  1. traversal : t;
  2. int_bytes : t;
  3. string_bytes : t;
}
Sourceval zero : t
Sourceval add : t -> t -> t
Sourceval to_int : t -> int
Sourceval of_int : int -> t
Sourceval integer : 'a Script_int.num -> t
Sourceval string : string -> t
Sourceval script_string : Script_string.t -> t
Sourceval timestamp : Script_timestamp.t -> t
Sourceval size_of_comparable_value : 'a Script_typed_ir.comparable_ty -> 'a -> t
OCaml

Innovation. Community. Security.