js-libp2p icon indicating copy to clipboard operation
js-libp2p copied to clipboard

Address Manager should be responsible for create/update self peer record

Open vasco-santos opened this issue 5 years ago • 0 comments

The AddressManager should be responsible both for creating and updating the self peer record over time, as listen addresses or announce/nonAnnounce are updated.

This functionality currently lives on the TransportManager, which should only be responsible for the listeningAddresses.

The AddressManager should also be responsible for tracking the peer's observed addresses.

References:

  • https://github.com/libp2p/js-libp2p/pull/748

vasco-santos avatar Sep 23 '20 16:09 vasco-santos