package tezos-p2p-services

  1. Overview
  2. Docs

Module P2p_services.ACLSource

Sourcetype ip_list = {
  1. ips : Ipaddr.V6.t list;
    (*

    If not_reliable_since is None contains the list of currently greylisted IPs.

    *)
  2. not_reliable_since : Ptime.t option;
    (*

    Contains the date of the first time that the list of IPs has been overflowed and became not reliable.

    *)
}

Structure that provides a friendly and bounded list of currently greylisted IPs.

Sourceval clear : Tezos_base__TzPervasives.RPC_context.simple -> unit -> (unit, Tezos_error_monad.TzCore.error list) result Lwt.t
Sourceval get_greylisted_peers : Tezos_base__TzPervasives.RPC_context.simple -> (Tezos_base.P2p_peer.Id.t list, Tezos_error_monad.TzCore.error list) result Lwt.t
Sourceval get_greylisted_ips : Tezos_base__TzPervasives.RPC_context.simple -> (ip_list, Tezos_error_monad.TzCore.error list) result Lwt.t
Sourcemodule S : sig ... end