update libp2p (#4864)

## Issue Addressed

updates libp2p to the latest version and uses the new `SwarmBuilder`. Superseeds https://github.com/sigp/lighthouse/pull/4695/
CC @mxinden I don't think we can use both `bandwidth_loggers` with the new syntax right?
This commit is contained in:
João Oliveira
2023-10-19 21:22:55 +00:00
parent 8c28d175b8
commit c6583bb5fa
3 changed files with 290 additions and 252 deletions

485
Cargo.lock generated

File diff suppressed because it is too large Load Diff