package tezos-protocol-015-PtLimaPt

  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-015-PtLimaPt.raw/Tezos_raw_protocol_015_PtLimaPt/Sapling_storage/index.html

Module Tezos_raw_protocol_015_PtLimaPt.Sapling_storageSource

Sourcemodule type COMMITMENTS = sig ... end
Sourcemodule Ciphertexts : sig ... end
Sourcemodule Nullifiers : sig ... end
Sourcemodule Roots : sig ... end

Bounded queue of roots. The full size is initialized with the default uncommitted root, that's why roots storage doesn't need to be carbonated. A maximum of one new root is added per protocol level. If multiple transactions for the same shielded pool are processed during the same contract call or several calls in the same block, only the last root will be stored. This property prevents transactions in the same block from depending on each other and guarantees that a transaction will be valid for a least two hours (hence the 120 size) after being forged.

This type links the permanent state stored in the context at the specified id together with the ephemeral diff managed by the Michelson interpreter. After a successful execution the diff can be applied to update the state at id. The first time a state is created its id is None, one will be assigned after the first application.

Sourceval empty_diff : Sapling_repr.diff
Sourceval empty_state : ?id:Lazy_storage_kind.Sapling_state.Id.t -> memo_size:Sapling_repr.Memo_size.t -> unit -> state
Sourceval sapling_apply_diff_cost : inputs:int -> outputs:int -> Saturation_repr.may_saturate Saturation_repr.t
OCaml

Innovation. Community. Security.