Skip to content

Releases: libp2p/go-libp2p-kad-dht

v0.11.1

09 Dec 01:02
09d923f
Compare
Choose a tag to compare

Fixed bug when initializing the DHT and already connected to DHT servers #698

v0.11.0

09 Dec 01:00
v0.11.0
7db4172
Compare
Choose a tag to compare
  • Update to go-libp2p 0.12 #693
  • Bootstrap on startup #694

v0.10.0

02 Sep 20:56
Compare
Choose a tag to compare
  • Removed the /kad/2.0.0 protocol ID as it's not being used currently and we'd like to avoid potential confusion. It can be re-added once we have a protocol breaking DHT change (similarly removed the V1CompatMode option since everything is only v1)
  • Added a V1ProtocolOverride function to be used by existing networks that do not have protocol IDs of the form /app/kad/1.0.0 new networks SHOULD NOT use this function.
    • As DHT protocol versions are bumped in the future expect that we will not be adding override functions and that protocol IDs will look like /app/kad/2.0.0

v0.9.0

26 Aug 01:11
57a258f
Compare
Choose a tag to compare
  • Reduced routing table churn #668
    • We now lock peers into the routing table once they enter the routing table unless they are:
      • Found in the early bootstrapping stages (in which case they are added on a probationary basis)
      • They fail to respond to a query from us (in which case they are evicted)
  • Added peer diversity to the routing table #658
    • Allows us to restrict the routing table to only hold a limited number of peers with particular network attributes (e.g. IP address range, or ASN)
  • Allow passing custom dual-dht options #671, #688
  • Fixed key log encoding, now outputs keys in base32 encoded multibase #682
  • Updated dependencies #689

v0.8.3

30 Jul 11:31
fc3558c
Compare
Choose a tag to compare

dependency upgrades + minor fixes for interoperability with other implementations.

v0.8.1

27 May 22:03
98c5089
Compare
Choose a tag to compare

Fixed a context cancellation race #656

v0.8.0

25 May 05:45
3d294c7
Compare
Choose a tag to compare
  • Changes the BootstrapPeers option to take peer.AddrInfo structs instead of multiaddrs. This makes it easy to pass multiple addresses for each peer.
  • Alters connection manager tagging such that:
    • Useful peers in low buckets are "protected". These are the most useful peers to us as they're the ones we usually contact when starting DHT queries.
    • Useful peers in higher buckets are given higher weights.

v0.7.12

21 May 02:33
6a14d9c
Compare
Choose a tag to compare
  • Bump default concurrency to 10 to bring in-line with go-ipfs defaults.
  • Add option to bootstrap off of a given set of peers when the routing table is empty.

v0.7.11

29 Apr 20:42
d935620
Compare
Choose a tag to compare

Optimize and fix some issues around query events.

v0.7.10

26 Apr 18:29
7224e2a
Compare
Choose a tag to compare

Avoid blocking when calling Bootstrap.