package octez-shell-libs

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

Module type Registration.Proxy_sigSource

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.

val protocol_hash : Tezos_base.TzPervasives.Protocol_hash.t

RPCs provided by the protocol

val initial_context : Proxy_getter.rpc_context_args -> Tezos_base.TzPervasives.Context_hash.t -> Tezos_protocol_environment.Context.t Tezos_base.TzPervasives.tzresult Lwt.t

How to build the context to execute RPCs on. Arguments are:

  • A printer (for logging)
  • An instance of Tezos_rpc.Context.generic, to perform RPCs
  • Whether octez-client or tezos-proxy-server is running
  • The chain for which the context is required
  • The block for which the context is required

The time_between_blocks constant for the given block, if any.

Functions used to implement the light mode

include Light_proto.PROTO_RPCS
OCaml

Innovation. Community. Security.