an object to manage sets of peers, their addresses and other metadata
Go to file
Steven Allen 6d5cedf098 revert to storing peer addresses in a map
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".
2018-10-01 22:16:08 -07:00
.gx gx publish 2.0.2 2018-09-27 21:01:06 +01:00
addr add mafmt import alias. 2018-09-07 12:43:27 +01:00
pstoreds review comments. 2018-09-28 18:47:41 +01:00
pstoremem revert to storing peer addresses in a map 2018-10-01 22:16:08 -07:00
queue gx-go unrewrite. 2018-09-02 12:10:55 +01:00
test add a test and fix broken logic. 2018-09-14 18:27:23 +01:00
.gitignore update travis.yml for coveralls 2016-08-19 15:01:56 -07:00
.travis.yml ci: don't test on osx 2017-12-05 18:11:33 -08:00
codecov.yml Update Travis CI to use standard test script and go 1.9.x. 2017-11-17 03:09:24 -05:00
interface.go datastore-backed impls of KeyBook and PeerMetadata. 2018-09-28 14:04:52 +01:00
LICENSE Add license and readme 2016-04-15 20:21:56 -07:00
Makefile fix CI, vet, and annoying types 2016-10-04 18:01:51 -07:00
metrics_test.go gx-go unrewrite. 2018-09-02 12:10:55 +01:00
metrics.go gx-go unrewrite. 2018-09-02 12:10:55 +01:00
package.json gx import libp2p/go-buffer-pool. 2018-09-28 19:49:49 +01:00
peerinfo_test.go gx-go unrewrite. 2018-09-02 12:10:55 +01:00
peerinfo.go gx-go unrewrite. 2018-09-02 12:10:55 +01:00
peerstore.go normalise import aliases. 2018-09-07 18:46:23 +01:00
README.md fix links in readme. 2018-09-27 20:59:57 +01:00

go-libp2p-peerstore

GoDoc Coverage Status Build Status

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