package tezos-protocol-environment

  1. Overview
  2. Docs
Interface layer between the protocols and the shell

Install

Dune Dependency

Authors

Maintainers

Sources

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

doc/tezos-protocol-environment/Tezos_protocol_environment/index.html

Module Tezos_protocol_environmentSource

Sourcemodule Context : sig ... end
Sourcemodule Register (C : sig ... end) : sig ... end
Sourceval err_implementation_mismatch : expected:string -> got:string -> 'a
Sourcetype validation_result = {
  1. context : Context.t;
  2. fitness : Tezos_base.TzPervasives.Fitness.t;
  3. message : string option;
  4. max_operations_ttl : int;
  5. last_allowed_fork_level : Int32.t;
}
Sourcetype quota = {
  1. max_size : int;
  2. max_op : int option;
}
Sourcetype rpc_context = {
  1. block_hash : Tezos_crypto.Hashed.Block_hash.t;
  2. block_header : Tezos_base.TzPervasives.Block_header.shell_header;
  3. context : Context.t;
}
Sourcemodule type PROTOCOL = sig ... end
Sourcemodule V0 : sig ... end
Sourcemodule V1 : sig ... end
Sourcemodule V2 : sig ... end
Sourcemodule V3 : sig ... end
Sourcemodule V4 : sig ... end
Sourcemodule V5 : sig ... end
Sourcemodule V6 : sig ... end
Sourcemodule V7 : sig ... end
Sourcemodule V8 : sig ... end
Sourcemodule V9 : sig ... end
Sourcemodule V10 : sig ... end
Sourcemodule Memory_context : sig ... end

Memory_context is a recursive map backed by an in-memory Irmin tree, i.e. Tezos_context_memory.Context (in src/lib_context), used by the mockup mode and by proof verifiers (i.e. clients of Tezos_context_helpers.Context.Make_tree.Proof). It abstracts away Tezos_context_memory.Context.t.

Sourcemodule Proxy_context : sig ... end

This module is the location where the proxy tweaks the behavior of a vanilla client. A regular mockup client uses a Memory_context in place of this implementation. Compared to Memory_context, this instance features a Proxy_Delegate.T which under the hood relies on Proxy_getter.

Sourcemodule Proxy_delegate : sig ... end
Sourcemodule Internal_for_tests : sig ... end
OCaml

Innovation. Community. Security.