package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val peer_id : t -> Tezos_base.P2p_peer.Id.t
val create : ?notify_new_block:(Block_validator.new_block -> unit) -> ?notify_termination:(unit -> unit) -> Tezos_shell_services.Shell_limits.peer_validator_limits -> Block_validator.t -> Distributed_db.chain_db -> Tezos_base.P2p_peer.Id.t -> t Lwt.t
val shutdown : t -> unit Lwt.t
val notify_branch : t -> Tezos_base.Block_locator.t -> unit
val notify_head : t -> Tezos_base.TzPervasives.Block_hash.t -> Tezos_base.Block_header.t -> unit
val running_workers : unit -> ((Tezos_base.TzPervasives.Chain_id.t * Tezos_base.P2p_peer.Id.t) * t) list
val status : t -> Tezos_base.Worker_types.worker_status
val information : t -> Tezos_base.Worker_types.worker_information
val current_request : t -> (Tezos_base.Time.System.t * Tezos_base.Time.System.t * Tezos_shell_services.Peer_validator_worker_state.Request.view) option
module Internal_for_tests : sig ... end
OCaml

Innovation. Community. Security.