package tezos-base

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type kind =
  1. | Outgoing_request
    (*

    We initiated a connection.

    *)
  2. | Accepting_request of P2p_peer_id.t
    (*

    We accepted a connection after authentifying the remote peer.

    *)
  3. | Rejecting_request of P2p_peer_id.t
    (*

    We rejected a connection after authentifying the remote peer.

    *)
  4. | Request_rejected of P2p_peer_id.t option
    (*

    The remote peer rejected our connection.

    *)
  5. | Connection_established of P2p_peer_id.t
    (*

    We successfully established a authentified connection.

    *)
  6. | Disconnection of P2p_peer_id.t
    (*

    We decided to close the connection.

    *)
  7. | External_disconnection of P2p_peer_id.t
    (*

    The connection was closed for external reason.

    *)
val encoding : t Data_encoding.t