package tezos-protocol-alpha

  1. Overview
  2. Docs
Tezos/Protocol: economic-protocol definition

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-17.3.tar.gz
sha256=7062cd57addd452852598a2214ade393130efa087b99068d53713bdf912b3680
sha512=08e4091144a03ce3c107fb91a66501bd8b65ca3278917c455a2eaac6df3e108ade63f6ab8340a4bb152d60f404326e464d0ec95d26cafe8e82f870465d24a5fc

doc/tezos-protocol-alpha.raw/Tezos_raw_protocol_alpha/Gas_input_size/index.html

Module Tezos_raw_protocol_alpha.Gas_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.

include module type of Gas_comparable_input_size
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
Sourceval list : 'a Script_list.t -> t
Sourceval map : ('a, 'b) Script_typed_ir.map -> t
Sourceval sapling_transaction_inputs : Alpha_context.Sapling.transaction -> t
Sourceval sapling_transaction_outputs : Alpha_context.Sapling.transaction -> t
Sourceval sapling_transaction_bound_data : Alpha_context.Sapling.transaction -> t
OCaml

Innovation. Community. Security.