aboutsummaryrefslogtreecommitdiffstats
path: root/src/transport
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-11-01 06:13:02 +0100
committertv <tv@krebsco.de>2026-11-01 06:13:02 +0100
commit5decfdba9e8985b72301acb288e26a6d1de50d58 (patch)
tree7b04eed03fc0d60a4fdf74ff00f97b24868ca2d3 /src/transport
parent68b86927bea773ac0201f5c0618204af20660c47 (diff)
config: use individual transport enable flags
Diffstat (limited to 'src/transport')
-rw-r--r--src/transport/libp2p/mod.rs2
-rw-r--r--src/transport/mod.rs2
-rw-r--r--src/transport/paths.rs2
-rw-r--r--src/transport/tor.rs2
4 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/libp2p/mod.rs b/src/transport/libp2p/mod.rs
index ace84c6..6032891 100644
--- a/src/transport/libp2p/mod.rs
+++ b/src/transport/libp2p/mod.rs
@@ -1,4 +1,4 @@
-//! libp2p as a transport (`--transports libp2p`, in builds with the `libp2p` feature):
+//! libp2p as a transport (`--libp2p-enable`, in builds with the `libp2p` feature):
//! direct connections over TCP (Noise, Yamux) and QUIC, to addresses this node knows.
//!
//! A node's transport identity is its libp2p peer ID; where it is, its listen addresses
diff --git a/src/transport/mod.rs b/src/transport/mod.rs
index 705e473..5ad2427 100644
--- a/src/transport/mod.rs
+++ b/src/transport/mod.rs
@@ -35,7 +35,7 @@ compile_error!(
);
/// The options of the transports this build has, each checked by its transport when the
-/// configuration is loaded (`config::Settings::check`, after the names in `transports`):
+/// configuration is loaded (`config::Settings::check`, after the transports enabled):
/// Mycelium's always (its conflicts are errors wherever they come from, as before);
/// libp2p's and Tor's if the node uses them. Options of transports not built aren't
/// checked: they're ignored, and said so (`config::Loaded::unused_transport_options`).
diff --git a/src/transport/paths.rs b/src/transport/paths.rs
index 7ebde70..658f681 100644
--- a/src/transport/paths.rs
+++ b/src/transport/paths.rs
@@ -8,7 +8,7 @@
//! transport of its address, hands every transport's messages to one handler under the
//! sender's address, and puts together what the transports say about themselves
//! (addresses, seeds they found, figures). The transports are in order of preference,
-//! as configured (`--transports`).
+//! as configured (`--transport-order`).
//!
//! A message to a node with several addresses goes to the first of them that takes it
//! (`send_first`), in the order `rank` gives. A send that fails is tried at once at the
diff --git a/src/transport/tor.rs b/src/transport/tor.rs
index 001309b..b091abb 100644
--- a/src/transport/tor.rs
+++ b/src/transport/tor.rs
@@ -1,4 +1,4 @@
-//! Tor as a transport (`--transports tor`, in builds with the `tor` feature), for
+//! Tor as a transport (`--tor-enable`, in builds with the `tor` feature), for
//! reachability: every node runs an onion service (arti), reachable from anywhere
//! without a forwarded port or a relay. Not for anonymity: a node's other addresses are
//! in the member list next to its onion address.