7799d888f6
* chore: upgrade the libp2p to 0.18.(0|1) * refactor: fix most of the swarm with todos mainly leaving the multiple connections case to panic. * feat: add ability to configure listening addr the original random listening address is still in place. * add test case for the panic with two connections * fix: allow multiple connections in p2p/swarm * doc: Connection and the any connecting address * chore: cleanup libp2p patching examples * refactor: rename SwarmApi::stats perhaps roundtrip_times is more readable. * chore: upgrade to libp2p 0.19 * fix: awaiting for binding new listening addresses the initial implementation didn't actually wait for anything other than asking the swarm to start listening, but now the await will complete only after a listening address has actually been bound. this required some nasty matching on the multiaddr protocol parts which will hopefully ever be used by test code but ... it works now, at least a bit better. * fix test on macos, fix unspecified addr handling |
||
---|---|---|
.. | ||
src | ||
build.rs | ||
Cargo.toml |