package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
include Tezos_requester.Requester.FULL_REQUESTER with type key = Tezos_base.TzPervasives.Protocol_hash.t with type param = unit with type request_param = unit request_param with type store = Tezos_store.Store.t with type value = Tezos_base.Protocol.t with type notified_value = Tezos_base.Protocol.t
type t
type key = Tezos_base.TzPervasives.Protocol_hash.t
type value = Tezos_base.Protocol.t
type param = unit
val known : t -> key -> bool Lwt.t
type Tezos_base.TzPervasives.error +=
  1. | Missing_data of key
type Tezos_base.TzPervasives.error +=
  1. | Canceled of key
type Tezos_base.TzPervasives.error +=
  1. | Timeout of key
val read : t -> key -> value Tezos_base.TzPervasives.tzresult Lwt.t
val read_opt : t -> key -> value option Lwt.t
val inject : t -> key -> value -> bool Lwt.t
val fetch : t -> ?peer:Tezos_base.TzPervasives.P2p_peer.Id.t -> ?timeout:Tezos_base.TzPervasives.Time.System.Span.t -> key -> param -> value Tezos_base.TzPervasives.tzresult Lwt.t
val clear_or_cancel : t -> key -> unit
type store = Tezos_store.Store.t
type request_param = unit request_param
type notified_value = Tezos_base.Protocol.t
val pending : t -> key -> bool
val notify : t -> Tezos_base.TzPervasives.P2p_peer.Id.t -> key -> notified_value -> unit Lwt.t
val memory_table_length : t -> int
val pending_requests : t -> int
val create : ?random_table:bool -> ?global_input:(key * value) Lwt_watcher.input -> request_param -> store -> t
val shutdown : t -> unit Lwt.t
OCaml

Innovation. Community. Security.