mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2026-08-22 15:33:27 +08:00
6d5cedf09881fb7c5b59e37dfaef9fba47bc53e1
We switched to a slice to reduce the amount of memory the peerstore ended up taking up unfortunately, this really killed us in allocations. Looking at go-ipfs profiles, I'm worried that memory fragmentation is killing us so I'd like to revert to the old behavior. Note: The real solution here is dealing with "address abusers".
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
Languages
Go
100%
