Files
go-libp2p/core/peerstore
sukun 26c901441e peerstore: limit number of non connected peers in addrbook (#2971)
* 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>
2024-10-16 20:02:42 -07:00
..