Responsible for managing the peer addresses. Peers can specify their listen and announce addresses. The listen addresses will be used by the libp2p transports to listen for new connections, while the announce addresses will be used for the peer addresses' to other peers in the network.
Get peer announcing multiaddrs.
Get peer listen multiaddrs.
{string[]} [listen = []] - list of multiaddrs string representation to listen.
{string[]} [announce = []] - list of multiaddrs string representation to announce.