Releases: libp2p/go-libp2p-peerstore
v0.2.4
Implement the FirstSupported
API which returns the a first peer a protocol supports from among the given protocols.
v0.2.3
v0.2.2
v0.2.1
v0.2.0
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
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
Fixes multiple TTL related bugs:
- 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.
- Don't re-announce addresses (locally) when we update their TTLs.
- Fix TTL updates for the on-disk addressbook.
v0.1.2
v0.1.1
v0.1.0
Abstract interfaces and core types have been been migrated and aliased to go-libp2p-core.