package tezos-shell-services

  1. Overview
  2. Docs
type update =
  1. | Ignored_head
  2. | Branch_switch
  3. | Head_increment
val update_encoding : update Data_encoding.t
type synchronisation_status =
  1. | Synchronised of {
    1. is_chain_stuck : bool;
    }
  2. | Not_synchronised
val sync_status_encoding : synchronisation_status Data_encoding.t
type t =
  1. | Processed_block of {
    1. request : Request.view;
    2. request_status : Tezos_base.Worker_types.request_status;
    3. update : update;
    4. fitness : Tezos_base.Fitness.t;
    5. level : Stdlib.Int32.t;
    6. timestamp : Tezos_base.Time.Protocol.t;
    }
  2. | Notify_branch of Tezos_base.P2p_peer.Id.t
  3. | Notify_head of Tezos_base.P2p_peer.Id.t
  4. | Connection of Tezos_base.P2p_peer.Id.t
  5. | Disconnection of Tezos_base.P2p_peer.Id.t
  6. | Could_not_switch_testchain of Tezos_error_monad.TzCore.error list
  7. | Bootstrapped
  8. | Sync_status of synchronisation_status
  9. | Bootstrap_active_peers of {
    1. active : int;
    2. needed : int;
    }
  10. | Bootstrap_active_peers_heads_time of {
    1. min_head_time : Tezos_base.Time.Protocol.t;
    2. max_head_time : Tezos_base.Time.Protocol.t;
    3. most_recent_validation : Tezos_base.Time.Protocol.t;
    }
  11. | Request_failure of Request.view * Tezos_base.Worker_types.request_status * Tezos_error_monad.TzCore.error list
type view = t
val view : t -> view
val encoding : t Data_encoding.encoding
val pp : Stdlib.Format.formatter -> t -> unit
OCaml

Innovation. Community. Security.