package octez-protocol-010-PtGRANAD-libs

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

Module Tezos_client_010_PtGRANAD.Protocol_client_contextSource

Sourcemodule Lifted_protocol = Tezos_protocol_010_PtGRANAD_lifted.Lifted_protocol
Sourcemodule Alpha_block_services : sig ... end
Sourceclass type rpc_context = object ... end

Client RPC context

The class wrap_rpc_context is a wrapper class used by the proxy mode clients. From a general-purpose Tezos_rpc.Context.generic t, the class is augmented with shell services to provide RPC calls that are protocol-dependent.

Sourceclass type full = object ... end

The class type full allows to create contexts that are explicitly used by low-level shell functions, while containing various information (I/O services, RPCs...). Then, depending on the usage, the type may be coerced into one of its following ascendants to serve for explicit operations on blocks, chain or daemon for instance.

From a Client_context.full, the class allows to call RPCs from the node and those defined by the protocol.

Sourceval register_error_kind : Tezos_base.TzPervasives.error_category -> id:string -> title:string -> description:string -> ?pp:(Format.formatter -> 'a -> unit) -> 'a Data_encoding.t -> (Tezos_base.TzPervasives.error -> 'a option) -> ('a -> Tezos_base.TzPervasives.error) -> unit
OCaml

Innovation. Community. Security.