package tezos-p2p-services

  1. Overview
  2. Docs
type 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.

val clear : Tezos_rpc.RPC_context.simple -> unit -> (unit, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val get_greylisted_peers : Tezos_rpc.RPC_context.simple -> (Tezos_base.P2p_peer.Id.t list, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
val get_greylisted_ips : Tezos_rpc.RPC_context.simple -> (ip_list, Tezos_error_monad.TzCore.error list) Stdlib.result Lwt.t
module S : sig ... end
OCaml

Innovation. Community. Security.