package octez-shell-libs

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
val chain_store : t -> Tezos_store.Store.chain_store
val sync_status : t -> Synchronisation_heuristic.status
val bootstrapped : t -> unit Lwt.t

Wait for the `synchronisation_status` to be `Synchronised`. Subsequent calls return immediately. In other words, once a node is bootstrapped, it remains bootstrapped until it terminates (except if force_bootstrapped is used).

val is_bootstrapped : t -> bool
val force_bootstrapped : t -> bool -> unit Lwt.t
val prevalidator : t -> Prevalidator.t option
val chain_db : t -> Distributed_db.chain_db
val child : t -> t option
val shutdown : t -> unit Lwt.t
val valid_block_watcher : t -> Tezos_store.Store.Block.t Lwt_stream.t * Lwt_watcher.stopper
val new_head_watcher : t -> (Tezos_base.TzPervasives.Block_hash.t * Tezos_base.Block_header.t) Lwt_stream.t * Lwt_watcher.stopper
val running_workers : unit -> (Tezos_base.TzPervasives.Chain_id.t * t) list
val pending_requests_length : t -> int
OCaml

Innovation. Community. Security.