Skip to content

v0.6.0

Compare
Choose a tag to compare
@dmitry-markin dmitry-markin released this 14 Jun 07:45
· 75 commits to master since this release
v0.6.0
ebb5f2d

[0.6.0] - 2024-06-14

This release introduces breaking changes into kad module. The API has been extended as following:

  • An event KademliaEvent::IncomingRecord has been added.
  • New methods KademliaHandle::store_record() / KademliaHandle::try_store_record() have been introduced.

This allows implementing manual incoming DHT record validation by configuring Kademlia with IncomingRecordValidationMode::Manual.

Also, it is now possible to enable TCP_NODELAY on sockets.

Multiple refactorings to remove the code duplications and improve the implementation robustness have been done.

Added

  • Support manual DHT record insertion (#135)
  • transport: Make TCP_NODELAY configurable (#146)

Changed

  • transport: Introduce common listener for tcp and websocket (#147)
  • transport/common: Share DNS lookups between TCP and WebSocket (#151)

Fixed

  • ping: Make ping fault tolerant wrt outbound substreams races (#133)
  • crypto/noise: Make noise fault tolerant (#142)
  • protocol/notif: Fix panic on missing peer state (#143)
  • transport: Fix erroneous handling of secondary connections (#149)