Skip to content
This repository has been archived by the owner on Aug 19, 2022. It is now read-only.

Releases: libp2p/go-libp2p-peerstore

v0.2.4

14 May 11:16
ce24bfc
Compare
Choose a tag to compare

Implement the FirstSupported API which returns the a first peer a protocol supports from among the given protocols.

v0.2.3

06 Apr 20:05
b1f58c0
Compare
Choose a tag to compare

Avoid panicing when passed an empty peer ID.

v0.2.2

30 Mar 02:29
1019086
Compare
Choose a tag to compare

Avoid deleting signed peer record when adding no addresses.

v0.2.1

23 Mar 21:20
0860fe0
Compare
Choose a tag to compare

Fix closing the in-memory peerstore to avoid leaking a goroutine.

v0.2.0

06 Mar 12:13
59abcf5
Compare
Choose a tag to compare

Major features

Peerstore support for certified peer records

Both peerstore implementations (pstoremem and pstoreds) now support certified peer records, by implementing peerstore.CertifiedAddrBook.

For now, the peerstore keeps all addresses, uncertified and certified, and offers no way of differentiating between them when querying it. This means that dials can be insecure (i.e. hitting uncertified addresses when a certified record exists), but it will allow users to being integrating certified records downstream, while we work on tagging addresses properly so they can be subsequently filtered.

The final solution will revolve around address labels, which are being incubated here: libp2p/go-libp2p-core#123

Other changes

  • Dependency upgrades.

Release v0.1.4

28 Oct 22:57
v0.1.4
dee88d7
Compare
Choose a tag to compare

Update deps and regenerate protobuf files.

Deps:

  • go-libp2p-core
  • switch from github.com/whyrusleeping/mafmt to github.com/multiformats/go-multiaddr-fmt
  • update the datastore interfaces/implementations
  • update gogo/protobuf

Release v0.1.3

28 Oct 23:01
f4c9af1
Compare
Choose a tag to compare

Fixes multiple TTL related bugs:

  1. Independently extend the address expiration time and the address TTL. Basically, never shrink the TTL, even if we're extending the expiration for some reason.
  2. Don't re-announce addresses (locally) when we update their TTLs.
  3. Fix TTL updates for the on-disk addressbook.

v0.1.2

10 Jul 14:51
ad0faef
Compare
Choose a tag to compare

fixes a bug in the implementations of the recently introduced RemoveProtocols(), which failed to acquire the write lock, and were therefore vulnerable to data races.

v0.1.1

20 Jun 15:25
Compare
Choose a tag to compare
  • adds support for removing protocols from the protobook.
  • upgrades to latest go-libp2p-core.

v0.1.0

23 May 17:11
4353646
Compare
Choose a tag to compare

Abstract interfaces and core types have been been migrated and aliased to go-libp2p-core.