aboutsummaryrefslogtreecommitdiffstats
path: root/src/simtest
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-07 22:35:21 +0100
committertv <tv@krebsco.de>2026-11-07 22:35:21 +0100
commitc3fde0fdd410902125f006f0a7d77ca030cb9061 (patch)
treed5506388f0f94b77c5172c96074ff68b54186726 /src/simtest
parent2ff408c024a0ef5db2a770e8a091783f1b6d9cfc (diff)
signatures: on their own (SIGNATURES)
Signatures no sync message took go on their own within a second, to each peer not sent them yet (wire version bumped). Auth plan M5.
Diffstat (limited to 'src/simtest')
-rw-r--r--src/simtest/bench.rs9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/simtest/bench.rs b/src/simtest/bench.rs
index 04b2eb6..585ea1e 100644
--- a/src/simtest/bench.rs
+++ b/src/simtest/bench.rs
@@ -491,7 +491,7 @@ impl Totals {
}
/// The kinds, in the order of the report.
-const KINDS: [&str; 11] = [
+const KINDS: [&str; 12] = [
"SYNC",
"STATUS",
"STATUS_REPLY",
@@ -503,9 +503,10 @@ const KINDS: [&str; 11] = [
"PROBE",
"PRUNE/GRAFT",
"NEIGHBOUR",
+ "SIGNATURES",
];
-fn counters(by: &ByKind) -> [Counter; 11] {
+fn counters(by: &ByKind) -> [Counter; 12] {
[
by.sync,
by.status,
@@ -518,10 +519,11 @@ fn counters(by: &ByKind) -> [Counter; 11] {
by.probe,
by.plumtree,
by.hyparview,
+ by.signatures,
]
}
-fn counters_mut(by: &mut ByKind) -> [&mut Counter; 11] {
+fn counters_mut(by: &mut ByKind) -> [&mut Counter; 12] {
[
&mut by.sync,
&mut by.status,
@@ -534,6 +536,7 @@ fn counters_mut(by: &mut ByKind) -> [&mut Counter; 11] {
&mut by.probe,
&mut by.plumtree,
&mut by.hyparview,
+ &mut by.signatures,
]
}