aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport/paths.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-28 14:03:53 +0100
committertv <tv@krebsco.de>2026-10-28 14:03:53 +0100
commit86104f5aa4fa6d8cbc0ea2c5d47481e23c3aff04 (patch)
treee969237e0d7614f884d544e23f675df7209e5c97 /src/transport/paths.rs
parenteddf62d7a202a0b8b95df28d769e62fe23622b7a (diff)
add support for renaming IDs in the logger
Diffstat (limited to 'src/transport/paths.rs')
-rw-r--r--src/transport/paths.rs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/transport/paths.rs b/src/transport/paths.rs
index 017f72c..cbcdcb7 100644
--- a/src/transport/paths.rs
+++ b/src/transport/paths.rs
@@ -480,6 +480,11 @@ impl Paths {
.map(Link::own_address)
}
+ /// This node's own addresses, one per transport: `<scheme>:<its identity there>`.
+ pub(crate) fn own_addresses(&self) -> Vec<String> {
+ self.links.iter().map(Link::own_address).collect()
+ }
+
/// The longest of the transports': until then, something may still be on its way.
pub(crate) fn delivery_limit(&self) -> Duration {
self.links