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

PeerStore cleannup strategies

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

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

vasco-santos avatar May 15 '20 15:05 vasco-santos