mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-11-02 17:01:07 +00:00
Split Peerset into PeerStore & ProtocolControllers (#13611)
This commit is contained in:
1 parent
194c9edd4a
commit
01107e9ca5
19 files changed
+2915
-1729
No files matched your search
@@ -101,12 +101,6 @@ mockall::mock! {
|
||||
peers: HashSet<Multiaddr>,
|
||||
) -> Result<(), String>;
|
||||
fn remove_peers_from_reserved_set(&self, protocol: ProtocolName, peers: Vec<PeerId>);
|
||||
fn add_to_peers_set(
|
||||
&self,
|
||||
protocol: ProtocolName,
|
||||
peers: HashSet<Multiaddr>,
|
||||
) -> Result<(), String>;
|
||||
fn remove_from_peers_set(&self, protocol: ProtocolName, peers: Vec<PeerId>);
|
||||
fn sync_num_connected(&self) -> usize;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user