P2p_services.ACL
type ip_list = {
ips : Ipaddr.V6.t list;
If not_reliable_since
is None
contains the list of currently greylisted IPs.
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 :
Mavryk_rpc.Context.simple ->
unit ->
unit Mavryk_base.TzPervasives.tzresult Lwt.t
val get_greylisted_peers :
Mavryk_rpc.Context.simple ->
Mavryk_base.TzPervasives.P2p_peer.Id.t list Mavryk_base.TzPervasives.tzresult
Lwt.t
val get_greylisted_ips :
Mavryk_rpc.Context.simple ->
ip_list Mavryk_base.TzPervasives.tzresult Lwt.t
module S : sig ... end