mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-03 22:52:16 +00:00
When a peer disconnects, reservations associated with that peer are removed from the set of reservations of the peer. In case the set of reservations for the peer is now empty, remove the entire peer. Same when a reservation times out.