aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-28 11:34:56 +0100
committertv <tv@krebsco.de>2026-10-28 11:34:56 +0100
commit1b12e8784c2dd512d0fc21eaa035ef805c916979 (patch)
tree6989c8cf0c271ae8221a265d226f6282667e3c17 /src/transport/mod.rs
parentb36645fa920653f2830fb637746d60932ad04950 (diff)
consistently show addresses in /peers
Diffstat (limited to 'src/transport/mod.rs')
-rw-r--r--src/transport/mod.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transport/mod.rs b/src/transport/mod.rs
index 25ad56d..839476b 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -353,7 +353,8 @@ pub(crate) struct ListedPeer {
#[derive(Debug, Clone, PartialEq, Serialize)]
#[serde(rename_all = "camelCase")]
pub(crate) struct Destination {
- /// As the identity layer keeps it: `<scheme>:<transport identity>`.
+ /// Where messages to the peer go: its best path, as paths show it (`Paths::location`;
+ /// `stats::PathInfo::address`).
pub(crate) address: String,
/// The peer proved itself there; else it is only said to be there, and sends wait
/// for its proof.