package octez-shell-libs

  1. Overview
  2. Docs
Octez shell libraries

Install

Dune Dependency

Authors

Maintainers

Sources

octez-19.0.tar.gz
sha256=c6df840ebbf115e454db949028c595bec558a59a66cade73b52a6d099d6fa4d4
sha512=d8aee903b9fe130d73176bc8ec38b78c9ff65317da3cb4f3415f09af0c625b4384e7498201fdb61aa39086a7d5d409d0ab3423f9bc3ab989a680cf444a79bc13

doc/octez-shell-libs.proxy/Tezos_proxy/Registration/index.html

Module Tezos_proxy.RegistrationSource

Sourcemodule type Proxy_sig = sig ... end

The module type of a proxy environment. Modules of this type should be prepared protocol-side and registered here to become available to the proxy facility.

Sourcetype proxy_environment = (module Proxy_sig)
Sourceval register_proxy_context : proxy_environment -> unit

register_proxy_context env adds a proxy environment to the list of known environments. Raise Invalid_argument if an environment for the given protocol exists already.

Sourceval get_all_registered : unit -> proxy_environment list

get_all_registered () returns all proxy environments that have been registered so far with register_proxy_context

Sourceval get_registered_proxy : Tezos_client_base.Client_context.printer -> Tezos_base.TzPervasives.Protocol_hash.t -> proxy_environment Tezos_base.TzPervasives.tzresult Lwt.t

Returns a proxy environment for the given protocol.

OCaml

Innovation. Community. Security.