Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
exception Rpc_dir_creation_failure of Tezos_error_monad.TzCore.error list
Exception used by the proxy mode when creation of the input environment (of the RPC handler) fails. This exception is used to temporarily escape from monad, because at the point of throwing, the code is NOT in tzresult Lwt.t (because it's dealing with resto APIs: it's in an Lwt.t-only monad). Then this exception is injected back in the tzresult Lwt.t monad at the point where it is caught (with Lwt.catch).
val local_ctxt : unit Tezos_rpc.RPC_directory.t -> Tezos_rpc.RPC_context.json
The function local_ctxt directory
creates an RPC context that executes RPCs locally.