mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-21 23:21:19 +00:00
* No longer panic when updating self peer ID in kbuckets * Minor code improvement in flush() * Small improvement to handle_find_node_req * expected_pongs no longer mut * Clean up KadServerInterface trait * find_node() returns an impl Future * Rework kad_server's API to remove the interface * Remove the error mapping in kad_bistream.split() * Use a name type in protocol.rs * respond() now takes an iter of Peers + add tests * Use concrete Future type in kad_server upgrade * Let the high level code decide the TTL of the addrs * Replace QueryInterface::send with find_node_rpc * Replace KademliaProcessingFuture with KademliaPeerReqStream * requested_peers() now returns an iter * gen_random_id() only requires &PeerId * Remove QueryInterface and return stream of events * Remove add_peer_addrs from query * Remove the peer_store and record_store params * Tweak multiaddresses reportin * Remove dependency on peerstore * Fix tests