summaryrefslogtreecommitdiffstats
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
commit381ea0c63d59916d99061ed0fb2ed61927c263fb (patch)
treee6de8c33738cc843603e1450d7d363bd7f9b340a /src/transport/mod.rs
parentc224f64c16c63e9795a31bc7aa34859d4b27d12b (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.