v1.0 networking backports (#2486)
* ProtocolId can now be more than 3 bytes (#2350) * Update to libp2p v0.7.0 (#2343) * Update to libp2p master * Fix tests * More tests fixing * Remove the multiplexed networking system (#2373) * Remove the multiplexed networking system * Rename BackCompat to Normal * Remove CustomMessageId * Fix tests * Allow multiple substreams (#2379) * Allow multiple substreams * Update core/network-libp2p/src/custom_proto/handler.rs Co-Authored-By: tomaka <pierre.krieger1708@gmail.com> * Fix #2403 (#2404) * Fix #2403 * Apply suggestions from code review Co-Authored-By: tomaka <pierre.krieger1708@gmail.com> * Split Context::send_message into multiple methods (#2409) * Split Context::send_message into multiple methods * Apply suggestions from code review Co-Authored-By: tomaka <pierre.krieger1708@gmail.com> * Add reason for closing and fix multiple substreams (#2437) * Simplify the code of connection_keep_alive (#2438) * Drop connections when the handler gets disabled (#2439) * Drop connections when the handler gets disabled * Add test * Disable mDNS when passing --dev (#2467) * Show more information when too many addresses are reported (#2473) * Show more information when too many addresses are reported * Update core/network-libp2p/src/behaviour.rs Co-Authored-By: tomaka <pierre.krieger1708@gmail.com>
Showing
- Cargo.lock 193 additions, 89 deletionsCargo.lock
- core/cli/src/lib.rs 5 additions, 1 deletioncore/cli/src/lib.rs
- core/cli/src/params.rs 1 addition, 1 deletioncore/cli/src/params.rs
- core/consensus/common/Cargo.toml 1 addition, 1 deletioncore/consensus/common/Cargo.toml
- core/network-libp2p/Cargo.toml 1 addition, 1 deletioncore/network-libp2p/Cargo.toml
- core/network-libp2p/src/behaviour.rs 38 additions, 17 deletionscore/network-libp2p/src/behaviour.rs
- core/network-libp2p/src/custom_proto/behaviour.rs 49 additions, 42 deletionscore/network-libp2p/src/custom_proto/behaviour.rs
- core/network-libp2p/src/custom_proto/handler.rs 142 additions, 397 deletionscore/network-libp2p/src/custom_proto/handler.rs
- core/network-libp2p/src/custom_proto/mod.rs 1 addition, 1 deletioncore/network-libp2p/src/custom_proto/mod.rs
- core/network-libp2p/src/custom_proto/upgrade.rs 16 additions, 108 deletionscore/network-libp2p/src/custom_proto/upgrade.rs
- core/network-libp2p/src/lib.rs 18 additions, 4 deletionscore/network-libp2p/src/lib.rs
- core/network-libp2p/src/service_task.rs 4 additions, 7 deletionscore/network-libp2p/src/service_task.rs
- core/network-libp2p/tests/test.rs 125 additions, 24 deletionscore/network-libp2p/tests/test.rs
- core/network/src/consensus_gossip.rs 3 additions, 3 deletionscore/network/src/consensus_gossip.rs
- core/network/src/message.rs 1 addition, 21 deletionscore/network/src/message.rs
- core/network/src/protocol.rs 27 additions, 7 deletionscore/network/src/protocol.rs
- core/network/src/service.rs 1 addition, 16 deletionscore/network/src/service.rs
- core/network/src/sync.rs 6 additions, 6 deletionscore/network/src/sync.rs
- core/peerset/Cargo.toml 1 addition, 1 deletioncore/peerset/Cargo.toml
- core/service/src/lib.rs 10 additions, 8 deletionscore/service/src/lib.rs
Please register or sign in to comment