summaryrefslogtreecommitdiffstats
path: root/src/transport/mod.rs
diff options
context:
space:
mode:
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.