package octez-libs

  1. Overview
  2. Docs
type t =
  1. | Requested
  2. | Accepted of P2p_peer_id.t
  3. | Running of P2p_peer_id.t
  4. | Disconnected
val pp_digram : Format.formatter -> t -> unit
val encoding : t Data_encoding.t
val of_p2p_peer_id : t -> P2p_peer_id.t option
val of_peerid_state : t -> P2p_peer_id.t option -> t
val filter : Filter.t list -> t -> bool
OCaml

Innovation. Community. Security.