mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-05 10:21:07 +00:00
Some tweaks in the network crate (#1108)
* Move Roles to network::config * Make network::config public * Move NetworkConfig and NonReservedMode to config * Move Params to config * Move node_id() to NetworkManager and fix tests * Rename Specialization to NetworkSpecialization
This commit is contained in:
1 parent
6ad88fc623
commit
74e907f3cb
16 files changed
+117
-109
No files matched your search
@@ -405,7 +405,7 @@ mod tests {
|
||||
use network::test::*;
|
||||
use network::test::{Block as TestBlock, PeersClient};
|
||||
use runtime_primitives::traits::Block as BlockT;
|
||||
use network::ProtocolConfig;
|
||||
use network::config::ProtocolConfig;
|
||||
use parking_lot::Mutex;
|
||||
use tokio::runtime::current_thread;
|
||||
use keyring::Keyring;
|
||||
|
||||
Reference in new issue
Block a user