Trust_system.Peer_trustval create : string -> tval null : unit -> tval upcall_pipe :
t ->
[ `Ban of Network_peer.Peer.t * Core.Time.t
| `Heartbeat of Network_peer.Peer.t ]
Pipe_lib.Strict_pipe.Reader.tval record :
t ->
Logger.t ->
Network_peer.Peer.t ->
Actions.t ->
unit Async_kernel.Deferred.tval lookup_ip :
t ->
Core.Unix.Inet_addr.Blocking_sexp.t ->
(Network_peer.Peer.t * Peer_status.t) listval reset_ip :
t ->
Core.Unix.Inet_addr.Blocking_sexp.t ->
(Network_peer.Peer.t * Peer_status.t) listval peer_statuses : t -> (Network_peer.Peer.t * Peer_status.t) listval close : t -> unitmodule For_tests : sig ... end