an object to manage sets of peers, their addresses and other metadata
Go to file
Steven Allen fd3ea885ff feat: improve protocol interning
This used to specify a max size/count but that was only because this logic was
shared between all peerstores (including the on-disk one). Now that:

1. This only applies to the in-memory one.
2. We never actually GC these.

We can just intern indefinitely.
2019-05-27 14:35:05 -07:00
addr add mafmt import alias. 2018-09-07 12:43:27 +01:00
pb fix unmarshalling of peer IDs 2019-04-23 00:59:28 -07:00
pstoreds use segments in ds protobook instead of a lock array 2019-05-18 11:42:47 +03:00
pstoremem feat: improve protocol interning 2019-05-27 14:35:05 -07:00
queue gx-go unrewrite. 2018-09-02 12:10:55 +01:00
test pstore ds: make gc lookahead window optional. 2019-02-06 09:35:10 +00:00
.gitignore update travis.yml for coveralls 2016-08-19 15:01:56 -07:00
.travis.yml farewell gx; thanks for serving us well. 2019-04-11 21:11:16 +01:00
codecov.yml codecov: ignore protobuf go sources. 2018-11-28 00:57:08 +00:00
go.mod Consolidate abstractions and core types into go-libp2p-core (#69) 2019-05-23 18:11:06 +01:00
go.sum Consolidate abstractions and core types into go-libp2p-core (#69) 2019-05-23 18:11:06 +01:00
interface.go Consolidate abstractions and core types into go-libp2p-core (#69) 2019-05-23 18:11:06 +01:00
LICENSE Add license and readme 2016-04-15 20:21:56 -07:00
metrics_test.go gx-go unrewrite. 2018-09-02 12:10:55 +01:00
metrics.go Consolidate abstractions and core types into go-libp2p-core (#69) 2019-05-23 18:11:06 +01:00
peerinfo.go Consolidate abstractions and core types into go-libp2p-core (#69) 2019-05-23 18:11:06 +01:00
peerstore.go refactor protocol functionality into ProtoBook 2019-05-17 12:33:33 +03:00
README.md farewell gx; thanks for serving us well. 2019-04-11 21:11:16 +01:00

go-libp2p-peerstore

GoDoc Coverage Status Build Status Discourse posts

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


The last gx published version of this module was: 2.0.19: QmaCTz9RkrU13bm9kMB54f7atgqM4qkjDZpRwRoJiWXEqs