diff options
Diffstat (limited to 'src/transport/tor.rs')
| -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"), |
