an object to manage sets of peers, their addresses and other metadata
Go to file
Raúl Kripalani 95b7f1677e
Merge pull request #30 from raulk/refactor
* Refactor the peerstore into interface, in-memory implementation, datastore implementation. 
* Create common test suites to test all implementations against. 
* Normalise naming: rename AddrMgr => AddrBook everywhere. 
* Create interface PeerMetadata, with in-memory implementation.
* Adjust wait times in time-dependent tests.
2018-09-07 12:49:26 +01:00
.gx gx publish 1.5.0 2018-08-27 19:06:57 -04:00
addr add mafmt import alias. 2018-09-07 12:43:27 +01:00
pstoreds rename NewPeerstoreWith(...) => NewPeerstore(...); adjust godoc. 2018-09-05 15:14:57 +01:00
pstoremem rename NewPeerstoreWith(...) => NewPeerstore(...); adjust godoc. 2018-09-05 15:14:57 +01:00
queue gx-go unrewrite. 2018-09-02 12:10:55 +01:00
test increase wait times in tests. 2018-09-06 20:18:25 +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 rename *Peers() to PeersWith*(). 2018-09-02 12:18:00 +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 publish 1.5.0 2018-08-27 19:06:57 -04: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 rename NewPeerstoreWith(...) => NewPeerstore(...); adjust godoc. 2018-09-05 15:14:57 +01:00
README.md Added install and usage 2016-11-03 13:25:03 -04:00

go-libp2p-peer

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