mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2026-08-18 14:53:28 +08:00
fd3ea885ff1fc20cc7f9e6b4f348990cc7f709aa
This used to specify a max size/count but that was only because this logic was shared between all peerstores (including the on-disk one). Now that: 1. This only applies to the in-memory one. 2. We never actually GC these. We can just intern indefinitely.
go-libp2p-peerstore
An object to manage peers, their addresses, and other metadata about them.
Install
go get github.com/libp2p/go-libp2p-peerstore
Usage
Check out the GoDocs.
Contribute
Feel free to join in. All welcome. Open an issue!
This repository falls under the IPFS Code of Conduct.
Want to hack on IPFS?
License
MIT
The last gx published version of this module was: 2.0.19: QmaCTz9RkrU13bm9kMB54f7atgqM4qkjDZpRwRoJiWXEqs
Languages
Go
100%
