Use bounded channels for network -> sync -> import (#1874)
* use bounded channels for network -> sync -> import * bound at 4 * indent * use return value of handle_network_msg
Showing
- substrate/core/consensus/common/src/import_queue.rs 2 additions, 2 deletionssubstrate/core/consensus/common/src/import_queue.rs
- substrate/core/network/src/protocol.rs 73 additions, 38 deletionssubstrate/core/network/src/protocol.rs
- substrate/core/network/src/service.rs 12 additions, 12 deletionssubstrate/core/network/src/service.rs
- substrate/core/network/src/test/mod.rs 11 additions, 7 deletionssubstrate/core/network/src/test/mod.rs
Please register or sign in to comment