network: Update litep2p to v0.5.0 (#4570)
## [0.5.0] - 2023-05-24
This is a small patch release that makes the `FindNode` command a bit
more robst:
- The `FindNode` command now retains the K (replication factor) best
results.
- The `FindNode` command has been updated to handle errors and
unexpected states without panicking.
### Changed
- kad: Refactor FindNode query, keep K best results and add tests
([#114](https://github.com/paritytech/litep2p/pull/114))
---------
Signed-off-by:
Alexandru Vasile <alexandru.vasile@parity.io>
Showing
- Cargo.lock 54 additions, 28 deletionsCargo.lock
- substrate/client/network/Cargo.toml 1 addition, 1 deletionsubstrate/client/network/Cargo.toml
- substrate/client/network/src/litep2p/discovery.rs 6 additions, 9 deletionssubstrate/client/network/src/litep2p/discovery.rs
- substrate/client/network/src/litep2p/mod.rs 17 additions, 7 deletionssubstrate/client/network/src/litep2p/mod.rs
- substrate/client/network/types/Cargo.toml 1 addition, 1 deletionsubstrate/client/network/types/Cargo.toml
Please register or sign in to comment