Skip to content

Releases: libp2p/go-libp2p-kbucket

v0.4.1

09 Apr 20:10
a8232c8
Compare
Choose a tag to compare

Quick release to use durations instead of floats.

v0.4.0

09 Apr 19:56
6f708c1
Compare
Choose a tag to compare

Tack "usefulness" and "last queried" separately.

v0.3.3

06 Apr 02:53
381ce58
Compare
Choose a tag to compare

Refresh all "common prefix lengths", up to the max common prefix length. Previously, we'd just refresh every bucket. However, the last bucket will contain peers from multiple CPLs so we'd fill our routing table slowly instead of all at once.

v0.3.1

28 Feb 07:53
2c6281f
Compare
Choose a tag to compare
  1. Export the Option type so we can refer to in in the DHT.
  2. Fix interface conversion in RT.Print().
  3. Functions to get the number of peers for a Cpl/determine if a bucket is full.

v0.3.0

27 Feb 10:39
99fef9c
Compare
Choose a tag to compare
  1. Disassociate connectivity from Routing Table membership. Please see libp2p/go-libp2p-kad-dht#283 for the motivating discussion & design notes.
  2. Makes the Routing Table a self cleaning & self maintaining data structure by replacing peers that are not dialable with peers from a replacement cache.
  3. Replace the existing imperative Routing Table API with an "event-driven" API so it responds to events such as peer connection, disconnection, undialable peer etc and updates it's internal state accordingly.

v0.2.3

16 Dec 17:12
a0cac6f
Compare
Choose a tag to compare

Refresh and track real buckets, not virtual buckets. That is, don't treat the catch-all bucket as a single bucket.

That way, we correctly try to fill-in any buckets that might be available.

v0.2.2

11 Dec 18:40
d5af829
Compare
Choose a tag to compare

This is a bug fix release to make sure we take peers from all bucket if the target bucket and its neighbors are empty. Otherwise, we'd return no peers when we had peers in the routing table.

v0.2.0

26 May 15:20
3752ea0
Compare
Choose a tag to compare

🎉 This release applies the core refactor to this module; migrating to the consolidated types under go-libp2p-core. See libp2p/go-libp2p#602 for more context.