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/Alpha_context/Sapling/index.html

Module Alpha_context.SaplingSource

This module re-exports definitions from Sapling_repr, Sapling_storage and Sapling_validator.

Sourcemodule Id : sig ... end

See Sapling_state.Id.

Create a fresh sapling state in the context.

Sourcemodule Memo_size : sig ... end
Sourcetype state = private {
  1. id : Id.t option;
  2. diff : diff;
  3. memo_size : Memo_size.t;
}
Sourceval empty_state : ?id:Id.t -> memo_size:Memo_size.t -> unit -> state

Returns a state with fields filled accordingly. id should only be used by extract_lazy_storage_updates.

Sourceval transaction_get_memo_size : transaction -> Memo_size.t option
Sourcetype updates = diff
Sourceval transaction_in_memory_size : transaction -> Cache_memory_helpers.sint
Sourceval diff_in_memory_size : diff -> Cache_memory_helpers.sint
Sourcemodule Legacy : sig ... end
OCaml

Innovation. Community. Security.