litep2p: Update network backend to v0.7.0 (#5609)
This release introduces several new features, improvements, and fixes to the litep2p library. Key updates include enhanced error handling, configurable connection limits, and a new API for managing public addresses. For a detailed set of changes, see [litep2p changelog](https://github.com/paritytech/litep2p/blob/master/CHANGELOG.md#070---2024-09-05). This PR makes use of: - connection limits to optimize network throughput - better errors that are propagated to substrate metrics - public addresses API to report healthy addresses to the Identify protocol ### Warp sync time improvement Measuring warp sync time is a bit inaccurate since the network is not deterministic and we might end up using faster peers (peers with more resources to handle our requests). However, I did not see warp sync times of 16 minutes, instead, they are roughly stabilized between 8 and 10 minutes. For measuring warp-sync time, I've used [sub-trige-logs](https://github.com/lexnv...
parent
278d1bf7
Showing
- Cargo.lock 117 additions, 267 deletionsCargo.lock
- Cargo.toml 1 addition, 1 deletionCargo.toml
- prdoc/pr_5609.prdoc 21 additions, 0 deletionsprdoc/pr_5609.prdoc
- substrate/client/network/src/litep2p/discovery.rs 3 additions, 5 deletionssubstrate/client/network/src/litep2p/discovery.rs
- substrate/client/network/src/litep2p/mod.rs 55 additions, 23 deletionssubstrate/client/network/src/litep2p/mod.rs
- substrate/client/network/src/litep2p/service.rs 9 additions, 7 deletionssubstrate/client/network/src/litep2p/service.rs
- substrate/client/network/src/litep2p/shim/request_response/mod.rs 29 additions, 2 deletions...e/client/network/src/litep2p/shim/request_response/mod.rs
- substrate/client/network/src/litep2p/shim/request_response/tests.rs 6 additions, 1 deletion...client/network/src/litep2p/shim/request_response/tests.rs
- substrate/client/tracing/src/logging/mod.rs 3 additions, 0 deletionssubstrate/client/tracing/src/logging/mod.rs
Please register or sign in to comment