From fde8a76ec5d8e697d9b13470cd15ed324bae3d00 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 27 Oct 2026 00:36:40 +0100 Subject: talk about "transport" unless mycelium is meant --- src/transport/traffic.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/transport/traffic.rs') diff --git a/src/transport/traffic.rs b/src/transport/traffic.rs index 0d93525..f9b8289 100644 --- a/src/transport/traffic.rs +++ b/src/transport/traffic.rs @@ -1,9 +1,9 @@ //! Messages and bytes exchanged with each peer, by kind: counted where every message //! passes anyway, at the transport. No messages of our own. //! -//! Bytes are payload bytes, what the Mycelium message carries, without its framing, -//! the topic, or the base64 of its HTTP API. Counters only grow (from the start of the -//! process); rates are for whoever reads them. +//! Bytes are payload bytes, what a message carries, without the transport's framing +//! (for Mycelium: the topic, or the base64 of its HTTP API). Counters only grow (from +//! the start of the process); rates are for whoever reads them. //! //! A message dropped by the debug firewall still counts as sent (the firewall plays a //! lossy network) but not as received. @@ -58,10 +58,10 @@ impl ByKind { #[derive(Debug, Default, Clone, Copy, Serialize)] #[serde(rename_all = "camelCase")] pub(crate) struct PeerTraffic { - /// Handed to Mycelium (it accepted them). + /// Handed to the transport (it accepted them). pub(crate) sent: ByKind, pub(crate) received: ByKind, - /// Sends Mycelium refused (e.g. no route to the peer); not counted as sent. + /// Sends the transport refused (e.g. no route to the peer); not counted as sent. pub(crate) refused: ByKind, } -- cgit v1.3.1