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,
};