summaryrefslogtreecommitdiffstats
path: root/src/transport/stats.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-28 06:18:17 +0100
committertv <tv@krebsco.de>2026-10-28 06:18:17 +0100
commit1673d38fb9bdc71d66cb495d9c0467bbe3c1bfcf (patch)
treea10f0dc0269e5a9676da4e663b90aa8620f185e8 /src/transport/stats.rs
parenta25c3656990934b44ac3d71a80b56125746b2e94 (diff)
call back in tor to check identity
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 6b99999..8b456cc 100644
--- a/src/transport/stats.rs
+++ b/src/transport/stats.rs
@@ -48,11 +48,11 @@ pub(crate) struct PathsStats {
#[serde(rename_all = "camelCase")]
pub(crate) struct PathInfo {
/// `<scheme>:<transport identity>`: whom the path goes to, as the transport knows it
- /// (a libp2p peer ID, a Mycelium public key, a node key for Tor).
+ /// (a libp2p peer ID, a Mycelium public key, an onion service).
pub(crate) address: String,
/// Where the path goes now (`Transport::location`): for libp2p, the remote address of
- /// its connection; for Tor, the onion service. Absent where the address says it all
- /// (Mycelium), or with no connection.
+ /// its connection. Absent where the address says it all (Mycelium, Tor), or with no
+ /// connection.
pub(crate) location: Option<String>,
/// Smoothed round-trip time of its PINGs (ours, and our keepalives); absent before
/// an answer.