diff options
| author | tv <tv@krebsco.de> | 2026-10-31 05:17:41 +0100 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-10-31 05:17:41 +0100 |
| commit | 8bc2beeaa6584347c42dc67c6a8b0dce233314d9 (patch) | |
| tree | 8f2f4f5090755e44269e541174853c474bcf9422 /src | |
| parent | e24d468d8946e2a91f932c51dd4fc7dedff2a69e (diff) | |
tor: reparent orphaned comment
Diffstat (limited to 'src')
| -rw-r--r-- | src/transport/tor.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/transport/tor.rs b/src/transport/tor.rs index e077e7b..001309b 100644 --- a/src/transport/tor.rs +++ b/src/transport/tor.rs @@ -194,10 +194,6 @@ pub(crate) struct TorTransport { } impl TorTransport { - /// Launches our onion service, and bootstraps arti in the background (that takes a - /// while: it fetches what it needs to know of the Tor network). Until it is done, - /// dials wait for it (arti bootstraps on demand), and the onion service is published - /// once it is: the node starts without waiting for Tor. /// This transport's options, checked when the configuration is loaded /// (`config::Settings::check`), if the node uses it: where arti keeps its state. pub(crate) fn check(settings: &crate::config::Settings) -> Result<()> { @@ -231,6 +227,10 @@ impl TorTransport { } } + /// Launches our onion service, and bootstraps arti in the background (that takes a + /// while: it fetches what it needs to know of the Tor network). Until it is done, + /// dials wait for it (arti bootstraps on demand), and the onion service is published + /// once it is: the node starts without waiting for Tor. pub(crate) async fn start(config: TorConfig) -> Result<Self> { let tor_config = TorClientConfigBuilder::from_directories( config.state_dir.join("state"), |
