package tezos-protocol-alpha
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.Sapling
Source
This module re-exports definitions from Sapling_repr
, Sapling_storage
and Sapling_validator
.
Source
val fresh :
temporary:bool ->
context ->
(context * Id.t) Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
Create a fresh sapling state in the context.
Source
type diff = private {
commitments_and_ciphertexts : (Tezos_protocol_environment_alpha.Sapling.Commitment.t * Tezos_protocol_environment_alpha.Sapling.Ciphertext.t) list;
nullifiers : Tezos_protocol_environment_alpha.Sapling.Nullifier.t list;
}
Returns a state
with fields filled accordingly. id
should only be used by extract_lazy_storage_updates
.
Source
val state_from_id :
context ->
Id.t ->
(state * context) Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
Tries to fetch a state from the storage.
Source
val get_diff :
context ->
Id.t ->
?offset_commitment:Tezos_protocol_environment_alpha.Int64.t ->
?offset_nullifier:Tezos_protocol_environment_alpha.Int64.t ->
unit ->
(root * diff) Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
Source
val verify_update :
context ->
state ->
transaction ->
string ->
(context * (Tezos_protocol_environment_alpha.Int64.t * state) option)
Tezos_protocol_environment_alpha.Error_monad.tzresult
Tezos_protocol_environment_alpha.Lwt.t
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>