package tezos-base

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

    We accepted a connection after authentifying the remote peer.

    *)
  2. | Rejecting_request
    (*

    We rejected a connection after authentifying the remote peer.

    *)
  3. | Request_rejected
    (*

    The remote peer rejected our connection.

    *)
  4. | Connection_established
    (*

    We successfully established a authentified connection.

    *)
  5. | Disconnection
    (*

    We decided to close the connection.

    *)
  6. | External_disconnection
    (*

    The connection was closed for external reason.

    *)
type t = {
  1. kind : kind;
  2. timestamp : Time.System.t;
  3. point : P2p_connection.Id.t;
}
val encoding : t Data_encoding.t