mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-27 05:59:49 +00:00
Use sc_network::NetworkStateInfo instead of implementing redundant traits (#4436)
* Implement local_peer_id for gossip * refactor local_peer_id * fix * reset gossip * Update tests.rs * fix ci * fix review * fix Cargo.lock * fix Cargo.lock
This commit is contained in:
1 parent
901dff5d14
commit
fe587c72ec
8 files changed
+397
-381
No files matched your search
@@ -33,7 +33,7 @@ use sc_service::{
|
||||
Roles,
|
||||
Error,
|
||||
};
|
||||
use sc_network::{multiaddr, Multiaddr};
|
||||
use sc_network::{multiaddr, Multiaddr, NetworkStateInfo};
|
||||
use sc_network::config::{NetworkConfiguration, TransportConfig, NodeKeyConfig, Secret, NonReservedPeerMode};
|
||||
use sp_runtime::{generic::BlockId, traits::Block as BlockT};
|
||||
use sp_transaction_pool::TransactionPool;
|
||||
|
||||
Reference in new issue
Block a user