Mina_net2.MultiaddrA "multiaddr" is libp2p's extensible encoding for network addresses.
They generally look like paths, and are read left-to-right. Each protocol type defines how to decode its address format, and everything leftover is encapsulated inside that protocol.
Some example multiaddrs:
/p2p/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC/ip4/127.0.0.1/tcp/1234/p2p/QmcgpsyWgH8Y8ajJz1Cu72KnS5uo2Aa2LpzU7kinSupNKC/ip6/2601:9:4f81:9700:803e:ca65:66e8:c21include Core.Bin_prot.Binable.S with type t := tval bin_size_t : t Bin_prot.Size.sizerval bin_write_t : t Bin_prot.Write.writerval bin_read_t : t Bin_prot.Read.readerval __bin_read_t__ : ( int -> t ) Bin_prot.Read.readerval bin_writer_t : t Bin_prot.Type_class.writerval bin_reader_t : t Bin_prot.Type_class.readerval bin_t : t Bin_prot.Type_class.tval to_string : t -> stringval of_string : string -> tval to_peer : t -> Network_peer.Peer.t optionval of_peer : Network_peer.Peer.t -> tval valid_as_peer : t -> boolcan a multiaddr plausibly be used as a Peer.t? a syntactic check only; a return value of true does not guarantee that the multiaddress can be used as a peer by libp2p
val of_file_contents : string -> t list