package tezos-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Information about a connection

type 'meta t = {
  1. incoming : bool;
  2. peer_id : P2p_peer_id.t;
  3. id_point : Id.t;
  4. remote_socket_port : P2p_addr.port;
  5. announced_version : Network_version.t;
  6. private_node : bool;
  7. local_metadata : 'meta;
  8. remote_metadata : 'meta;
}
val pp : (Stdlib.Format.formatter -> 'meta -> unit) -> Stdlib.Format.formatter -> 'meta t -> unit
val encoding : 'meta Data_encoding.t -> 'meta t Data_encoding.t
OCaml

Innovation. Community. Security.