mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2025-03-23 13:00:08 +08:00
an object to manage sets of peers, their addresses and other metadata
* 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. |
||
---|---|---|
.gx | ||
addr | ||
pstoreds | ||
pstoremem | ||
queue | ||
test | ||
.gitignore | ||
.travis.yml | ||
codecov.yml | ||
interface.go | ||
LICENSE | ||
Makefile | ||
metrics_test.go | ||
metrics.go | ||
package.json | ||
peerinfo_test.go | ||
peerinfo.go | ||
peerstore.go | ||
README.md |
go-libp2p-peer
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