Move the legacy protocol handshake to the legacy substream (#5938)
* Move the legacy protocol handshake to the legacy substream * Fix tests * Remove line that wasn't supposed to be committed * Remove hack * Rework how it's done * Some little changes * update_chain wasn't doing its thing * Fix service tests not calling update_chain * Update client/network/src/protocol/generic_proto/behaviour.rs Co-authored-by:Max Inden <mail@max-inden.de> * [WIP] * Revert "[WIP]" This reverts commit 2b892e6a7637c0b1297e6ecdbb919321c9098ff5. * Update client/network/src/protocol.rs Co-authored-by:
Max Inden <mail@max-inden.de> * Fix received message not being handshake * Update client/network/src/protocol/generic_proto/behaviour.rs Co-authored-by:
Max Inden <mail@max-inden.de> Co-authored-by:
Max Inden <mail@max-inden.de>
Showing
- substrate/client/network/src/protocol.rs 37 additions, 108 deletionssubstrate/client/network/src/protocol.rs
- substrate/client/network/src/protocol/generic_proto/behaviour.rs 30 additions, 3 deletions...te/client/network/src/protocol/generic_proto/behaviour.rs
- substrate/client/network/src/protocol/generic_proto/handler/group.rs 5 additions, 2 deletions...lient/network/src/protocol/generic_proto/handler/group.rs
- substrate/client/network/src/protocol/generic_proto/handler/legacy.rs 21 additions, 13 deletions...ient/network/src/protocol/generic_proto/handler/legacy.rs
- substrate/client/network/src/protocol/generic_proto/upgrade/legacy.rs 11 additions, 5 deletions...ient/network/src/protocol/generic_proto/upgrade/legacy.rs
Please register or sign in to comment