aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/traffic.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/traffic.rs')
-rw-r--r--src/transport/traffic.rs6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/transport/traffic.rs b/src/transport/traffic.rs
index e810595..b9506a9 100644
--- a/src/transport/traffic.rs
+++ b/src/transport/traffic.rs
@@ -57,8 +57,6 @@ pub(crate) struct ByKind {
pub(crate) plumtree: Counter,
/// NEIGHBOUR, NEIGHBOUR_REPLY and DISCONNECT (`swarm::hyparview`).
pub(crate) hyparview: Counter,
- /// SIGNATURES (`swarm::signatures`).
- pub(crate) signatures: Counter,
/// REFUSALS (`swarm::refusals`).
pub(crate) refusals: Counter,
}
@@ -77,7 +75,6 @@ impl ByKind {
MessageKind::Probe,
MessageKind::Prune,
MessageKind::Neighbour,
- MessageKind::Signatures,
MessageKind::Refusals,
] {
let theirs = *other.get(kind);
@@ -100,7 +97,6 @@ impl ByKind {
MessageKind::Neighbour | MessageKind::NeighbourReply | MessageKind::Disconnect => {
&self.hyparview
}
- MessageKind::Signatures => &self.signatures,
MessageKind::Refusals => &self.refusals,
}
}
@@ -120,7 +116,6 @@ impl ByKind {
MessageKind::Neighbour | MessageKind::NeighbourReply | MessageKind::Disconnect => {
&mut self.hyparview
}
- MessageKind::Signatures => &mut self.signatures,
MessageKind::Refusals => &mut self.refusals,
}
}
@@ -331,7 +326,6 @@ fn names(kind: MessageKind) -> (&'static str, &'static str) {
MessageKind::Neighbour => ("NEIGHBOUR", "hyparview"),
MessageKind::NeighbourReply => ("NEIGHBOUR_REPLY", "hyparview"),
MessageKind::Disconnect => ("DISCONNECT", "hyparview"),
- MessageKind::Signatures => ("SIGNATURES", "signatures"),
MessageKind::Refusals => ("REFUSALS", "refusals"),
}
}