mirror of
https://github.com/libp2p/go-libp2p-peerstore.git
synced 2025-01-29 05:00:09 +08:00
an object to manage sets of peers, their addresses and other metadata
588ab36ce8
This is a "more correct" API and we might as well fix this before it becomes used all over the place. The new API returns ErrNoPublicKey when there is no inlined key. This *also* fixes a bug where the datastore-backed keystore would panic if `ExtractPublicKey` returned `nil, nil`. |
||
---|---|---|
.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-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