Raúl Kripalani c423e9e997 pstoreds: migrate from strict TTL to GC-based expiry.
Each entry in the address book KV store now represents a full peer
with all its addresses. Expiries and TTLs are kept inline. Records are
serialised with Protobuf.

Housekeeping is performed on retrieve, and via a periodic GC routine.
The architecture mimics a write-through cache, although not strictly.
2018-11-13 16:57:51 +00:00
2018-11-09 15:31:38 -08:00
2018-09-07 12:43:27 +01:00
2018-09-02 12:10:55 +01:00
2018-11-02 15:24:44 -07:00
2016-08-19 15:01:56 -07:00
2018-11-02 15:49:58 -07:00
2016-04-15 20:21:56 -07:00
2016-10-04 18:01:51 -07:00
2018-09-02 12:10:55 +01:00
2018-09-02 12:10:55 +01:00
2018-11-09 15:31:38 -08:00
2018-11-09 11:13:06 +08:00
2018-09-07 18:46:23 +01:00
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

Description
an object to manage sets of peers, their addresses and other metadata
Readme MIT 1 MiB
Languages
Go 100%