js-libp2p
js-libp2p copied to clipboard
PeerStore cleannup strategies
When implementing the PeerStore, we did not consider cleannup strategies.
For instance, when multiaddrs expire and then we search peer routing to find the latest record for the peer because it previously supported a certain protocol.
We need to think further about these use cases and design a solution
Context: https://github.com/libp2p/js-libp2p/pull/638#discussion_r425831536