package tezos-protocol-environment

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

Module Memory_context.MSource

M is the Memory_context specific instance of Environment_context_intf.S

val equal_config : Tezos_context_sigs.Config.t -> Tezos_context_sigs.Config.t -> bool
Sourcetype t = t
Sourcetype key = string list
Sourcetype value = bytes
Sourcetype tree
Sourceval mem : t -> key -> bool Lwt.t
Sourceval mem_tree : t -> key -> bool Lwt.t
Sourceval find : t -> key -> value option Lwt.t
Sourceval find_tree : t -> key -> tree option Lwt.t
Sourceval list : t -> ?offset:int -> ?length:int -> key -> (string * tree) list Lwt.t
Sourceval length : t -> key -> int Lwt.t
Sourceval add : t -> key -> value -> t Lwt.t
Sourceval add_tree : t -> key -> tree -> t Lwt.t
Sourceval remove : t -> key -> t Lwt.t
Sourceval fold : ?depth:Tezos_context_sigs__Context.depth -> t -> key -> order:[ `Sorted | `Undefined ] -> init:'a -> f:(key -> tree -> 'a -> 'a Lwt.t) -> 'a Lwt.t
val config : t -> Tezos_context_sigs.Config.t
module Tree : sig ... end
Sourceval set_protocol : t -> Tezos_crypto.Hashed.Protocol_hash.t -> t Lwt.t
Sourceval get_protocol : t -> Tezos_crypto.Hashed.Protocol_hash.t Lwt.t
Sourceval fork_test_chain : t -> protocol:Tezos_crypto.Hashed.Protocol_hash.t -> expiration:Tezos_base.TzPervasives.Time.Protocol.t -> t Lwt.t
Sourceval set_hash_version : t -> Tezos_crypto.Hashed.Context_hash.Version.t -> t Tezos_base.TzPervasives.tzresult Lwt.t
Sourceval get_hash_version : t -> Tezos_crypto.Hashed.Context_hash.Version.t
module Proof : sig ... end
type tree_proof := Proof.tree Proof.t
type stream_proof := Proof.stream Proof.t
type ('proof, 'result) verifier := 'proof -> (tree -> (tree * 'result) Lwt.t) -> (tree * 'result, [ `Proof_mismatch of string | `Stream_too_long of string | `Stream_too_short of string ]) result Lwt.t
val verify_tree_proof : (tree_proof, 'a) verifier
val verify_stream_proof : (stream_proof, 'a) verifier
OCaml

Innovation. Community. Security.