Remove all code related to sentry nodes (#8079)

* Remove all code related to sentry nodes

* More fixing
This commit is contained in:
Pierre Krieger authored and GitHub committed 2021-02-15 08:45:03 +00:00
1 parent 019f04e99f
commit f6273f7914
17 files changed
+22 -128

No files matched your search

-1
View File
@@ -309,7 +309,6 @@ async fn build_network_future<
Role::Authority { .. } => NodeRole::Authority,
Role::Light => NodeRole::LightClient,
Role::Full => NodeRole::Full,
Role::Sentry { .. } => NodeRole::Sentry,
};
let _ = sender.send(vec![node_role]);
-1
View File
@@ -135,7 +135,6 @@ impl MetricsService {
let role_bits = match config.role {
Role::Full => 1u64,
Role::Light => 2u64,
Role::Sentry { .. } => 3u64,
Role::Authority { .. } => 4u64,
};
+1 -1
View File
@@ -337,7 +337,7 @@ impl<G, E, F, L, U> TestNet<G, E, F, L, U> where
let node_config = node_config(
self.nodes,
&self.chain_spec,
Role::Authority { sentry_nodes: Vec::new() },
Role::Authority,
task_executor.clone(),
Some(key),
self.base_port,