diff options
Diffstat (limited to 'src/transport')
| -rw-r--r-- | src/transport/libp2p/mod.rs | 2 | ||||
| -rw-r--r-- | src/transport/mod.rs | 2 | ||||
| -rw-r--r-- | src/transport/paths.rs | 2 | ||||
| -rw-r--r-- | src/transport/tor.rs | 2 |
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 515ef45..e598897 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. |
