Module P2p_point.State

type t =
  1. | Requested
  2. | Accepted of P2p_peer_id.t
  3. | Running of P2p_peer_id.t
  4. | Disconnected
val pp_digram : Stdlib.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