package octez-libs

  1. Overview
  2. Docs
A package that contains multiple base libraries used by the Octez suite

Install

Dune Dependency

Authors

Maintainers

Sources

tezos-octez-v20.1.tag.bz2
sha256=ddfb5076eeb0b32ac21c1eed44e8fc86a6743ef18ab23fff02d36e365bb73d61
sha512=d22a827df5146e0aa274df48bc2150b098177ff7e5eab52c6109e867eb0a1f0ec63e6bfbb0e3645a6c2112de3877c91a17df32ccbff301891ce4ba630c997a65

doc/octez-libs.base/Tezos_base/P2p_connection/Info/index.html

Module P2p_connection.InfoSource

Information about a connection

Sourcetype 'meta t = {
  1. incoming : bool;
  2. peer_id : P2p_peer_id.t;
  3. id_point : Id.t;
    (*

    Contact point: host address along with the TCP port on which the peer can be reached (listening port).

    *)
  4. remote_socket_port : P2p_addr.port;
    (*

    Port we're actually connected to. This port is equal to the contact (listening) port in case of an outgoing connection, and may be different in case of an incoming connection.

    *)
  5. announced_version : Network_version.t;
  6. private_node : bool;
  7. local_metadata : 'meta;
  8. remote_metadata : 'meta;
}
Sourceval pp : (Format.formatter -> 'meta -> unit) -> Format.formatter -> 'meta t -> unit
Sourceval encoding : 'meta Data_encoding.t -> 'meta t Data_encoding.t
OCaml

Innovation. Community. Security.