v0.6.0
[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
Changed
- transport: Introduce common listener for tcp and websocket (#147)
- transport/common: Share DNS lookups between TCP and WebSocket (#151)