mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-09-26 20:21:26 +08:00

* peerstore: limit number of non connected peers in addrbook * use a pool for expiring addrs * fix lint * Remove AddrBook interface from CertifiedAddrBook * Add helper for TTL is connected * Keep heapIndex invariant when returing from pool * Revert accidental benchmark change * Add test --------- Co-authored-by: Marco Munizaga <git@marcopolo.io>