Peer.IdA libp2p PeerID is more or less a hash of a public key.
module Stable : sig ... endtype t = Stable.Latest.tval hash_fold_t :
Ppx_hash_lib.Std.Hash.state ->
t ->
Ppx_hash_lib.Std.Hash.stateval hash : t -> Ppx_hash_lib.Std.Hash.hash_valueval t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> tval sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.tval unsafe_of_string : string -> tCreate a Peer ID from a string, without checking if it is well-formed.