Node_addrs_and_portstype t = {external_ip : Core.Unix.Inet_addr.Blocking_sexp.t; | |
bind_ip : Core.Unix.Inet_addr.Blocking_sexp.t; | (* When peer is |
mutable peer : Network_peer.Peer.Stable.Latest.t option; | |
libp2p_port : int; | |
client_port : int; |
}Network information for speaking to this daemon.
val client_port : t -> intval libp2p_port : t -> intval peer : t -> Network_peer.Peer.Stable.Latest.t optionval set_peer : t -> Network_peer.Peer.Stable.Latest.t option -> unitval bind_ip : t -> Core.Unix.Inet_addr.Blocking_sexp.tval external_ip : t -> Core.Unix.Inet_addr.Blocking_sexp.tmodule Fields : sig ... endval t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> tval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tmodule Display : sig ... endval to_multiaddr : t -> string optionval to_multiaddr_exn : t -> stringval to_yojson : t -> Yojson.Safe.tval to_peer_exn : t -> Network_peer.Peer.t