Clean-ups in the network-gossip crate (#4542)
* Remove usage of sc_network::Context trait * Remove Context::send_consensus * Pass &mut dyn Network instead of &dyn Network * Move Validator traits and related to separate module
Showing
- substrate/client/network-gossip/src/bridge.rs 16 additions, 62 deletionssubstrate/client/network-gossip/src/bridge.rs
- substrate/client/network-gossip/src/lib.rs 3 additions, 3 deletionssubstrate/client/network-gossip/src/lib.rs
- substrate/client/network-gossip/src/state_machine.rs 37 additions, 136 deletionssubstrate/client/network-gossip/src/state_machine.rs
- substrate/client/network-gossip/src/validator.rs 103 additions, 0 deletionssubstrate/client/network-gossip/src/validator.rs
- substrate/client/network/src/protocol.rs 0 additions, 34 deletionssubstrate/client/network/src/protocol.rs
Please register or sign in to comment