Release Notes for libp2p‑rs: New Features, Improvements, and Bug Fixes
The libp2p‑rs update introduces beta‑value termination for Kad‑DHT queries, timeout mechanisms, routing table refresh, node keep‑alive, identify event handling, outbound sub‑stream reuse, query statistics, a debuggable CLI, and adds experimental floodsub, mdns, parallel dialing, Prometheus exporter, and other enhancements.
Additions (Kad‑DHT) 1. Introduced a beta value as the termination condition for iterative queries; 2. Implemented a timeout mechanism for iterative queries; 3. Added a periodic routing‑table refresh mechanism; 4. Enabled keep‑alive for expired nodes in the routing table; 5. Handled events generated by the identify protocol and local address changes; 6. Reused outbound sub‑streams; 7. Collected statistics on iterative query history; 8. Provided a debuggable shell command.
Other Additions floodsub: Supports publishing/subscribing to a specific topic in a pub‑sub network (experimental). mdns: Supports automatic discovery of nodes on the local network (experimental).
Modifications (swarm) New features: 1. Asynchronous upgrade of inbound connections; 2. Support for parallel dialing; 3. Protocol handler notification mechanism; 4. Local listening address change notification; 5. Runtime status measurement.
Improvements 1. Enhanced peerstore; 2. Refined the identify protocol; 3. Fixed several bugs.
Additional Updates tcp transport: Added notification for listening address changes. cli: Integrated an interactive, debuggable CLI (via xcli‑rs) for real‑time observation and manual operation of swarm and Kad. Prometheus: Added a Prometheus exporter and an informational web server. Copyright: Completed MIT license information.
Conclusion The Netwarps team will continue developing and maintaining libp2p‑rs, with short‑term plans to support the Tokio runtime; contributions via PRs and issues are welcome to further improve libp2p‑rs.
Laravel Tech Community
Specializing in Laravel development, we continuously publish fresh content and grow alongside the elegant, stable Laravel framework.
How this landed with the community
Was this worth your time?
0 Comments
Thoughtful readers leave field notes, pushback, and hard-won operational detail here.