Network_peer.Peermodule Id : sig ... endA libp2p PeerID is more or less a hash of a public key.
module Stable : sig ... endtype t = Stable.Latest.t = {host : Core.Unix.Inet_addr.Blocking_sexp.t; |
libp2p_port : int; |
peer_id : string; |
}val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> tval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tval of_yojson :
[> `Assoc of
( Core.String.t, [> `Int of int | `String of Id.Stable.V1.t ] )
Core.List.Assoc.t ] ->
( Stable.Latest.t, string ) Core.Result.tval to_yojson :
Stable.Latest.t ->
[> `Assoc of (string * [> `Int of int | `String of Id.Stable.V1.t ]) list ]val compare : Stable.Latest.t -> Stable.Latest.t -> Core_kernel__.Import.intval hash_fold_t :
Ppx_hash_lib.Std.Hash.state ->
Stable.Latest.t ->
Ppx_hash_lib.Std.Hash.stateval hash : Stable.Latest.t -> Ppx_hash_lib.Std.Hash.hash_valueval hashable : Stable.Latest.t Core_kernel__.Hashtbl.Hashable.tmodule Table : sig ... endmodule Hash_set : sig ... endmodule Hash_queue : sig ... endval (>=) : Stable.Latest.t -> Stable.Latest.t -> boolval (<=) : Stable.Latest.t -> Stable.Latest.t -> boolval (=) : Stable.Latest.t -> Stable.Latest.t -> boolval (>) : Stable.Latest.t -> Stable.Latest.t -> boolval (<) : Stable.Latest.t -> Stable.Latest.t -> boolval (<>) : Stable.Latest.t -> Stable.Latest.t -> boolval equal : Stable.Latest.t -> Stable.Latest.t -> boolval compare : Stable.Latest.t -> Stable.Latest.t -> intval min : Stable.Latest.t -> Stable.Latest.t -> Stable.Latest.tval max : Stable.Latest.t -> Stable.Latest.t -> Stable.Latest.tval ascending : Stable.Latest.t -> Stable.Latest.t -> intval descending : Stable.Latest.t -> Stable.Latest.t -> intval between :
Stable.Latest.t ->
low:Stable.Latest.t ->
high:Stable.Latest.t ->
boolval clamp_exn :
Stable.Latest.t ->
min:Stable.Latest.t ->
max:Stable.Latest.t ->
Stable.Latest.tval clamp :
Stable.Latest.t ->
min:Stable.Latest.t ->
max:Stable.Latest.t ->
Stable.Latest.t Base__.Or_error.tval validate_lbound :
min:Stable.Latest.t Base__.Maybe_bound.t ->
Stable.Latest.t Base__.Validate.checkval validate_ubound :
max:Stable.Latest.t Base__.Maybe_bound.t ->
Stable.Latest.t Base__.Validate.checkval validate_bound :
min:Stable.Latest.t Base__.Maybe_bound.t ->
max:Stable.Latest.t Base__.Maybe_bound.t ->
Stable.Latest.t Base__.Validate.checkmodule Replace_polymorphic_compare : sig ... endval comparator :
( Stable.Latest.t, comparator_witness ) Core_kernel__Comparator.comparatormodule Map : sig ... endmodule Set : sig ... endval create :
Core.Unix.Inet_addr.Blocking_sexp.t ->
libp2p_port:int ->
peer_id:string ->
tval to_discovery_host_and_port : t -> Core.Host_and_port.tval to_string : t -> stringval to_multiaddr_string : t -> stringval pretty_list : t list -> stringmodule Event : sig ... endmodule Display : sig ... endval ip : t -> Core.Unix.Inet_addr.Blocking_sexp.t