aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/stats.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-30 21:09:21 +0100
committertv <tv@krebsco.de>2026-10-30 21:09:21 +0100
commitc39a500fe07d755b507599f89df5f409934ba55c (patch)
tree5c68bbdf0b952c0250dbba42098305bb02179f30 /src/transport/stats.rs
parent5ea3983bbaa00c7f9c881b404a9dd61921f934bd (diff)
measure every path in use
Diffstat (limited to 'src/transport/stats.rs')
-rw-r--r--src/transport/stats.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/transport/stats.rs b/src/transport/stats.rs
index ed8b247..68fc3c6 100644
--- a/src/transport/stats.rs
+++ b/src/transport/stats.rs
@@ -34,12 +34,12 @@ impl TransportStats {
}
}
-/// How the paths to peers with several addresses do (`transport::paths`).
+/// How the paths to peers do (`transport::paths`).
#[derive(Debug, Clone, Default, Serialize)]
#[serde(rename_all = "camelCase")]
pub(crate) struct PathsStats {
- /// Every path measured: those of peers this node chose among lately, and those its
- /// keepalives went over.
+ /// Every path measured: those of peers this node chose among or sent to lately, and
+ /// those its keepalives went over.
pub(crate) paths: Vec<PathInfo>,
#[serde(flatten)]
pub(crate) counts: PathCounts,