forked from WalletWasabi/WalletWasabi
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tor] Towards Whonix & Tails (take 2) (WalletWasabi#12991)
* `TorProcessManager`: Extract `RestartingLoopForBundledTorAsync` * Tor: Introduce `--UseOnlyRunningTor` command line option * Modify `UseTor` to be an enum
- Loading branch information
Showing
18 changed files
with
267 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
namespace WalletWasabi.Models; | ||
|
||
/// <summary> | ||
/// Modes for how we interact with Tor. | ||
/// </summary> | ||
public enum TorMode | ||
{ | ||
/// <summary>Tor is disabled. Clearnet is used instead.</summary> | ||
[FriendlyName("Disabled")] | ||
Disabled, | ||
|
||
/// <summary>Use running Tor or start a new Tor process if it is not running.</summary> | ||
/// <remarks>In this mode, Wasabi app is the owner of its Tor process.</remarks> | ||
[FriendlyName("Enabled")] | ||
Enabled, | ||
|
||
/// <summary>Use only running Tor process.</summary> | ||
/// <remarks> | ||
/// In this mode, Wasabi app is not the owner of its Tor process. | ||
/// <para>Useful for distributions like Whonix or Tails where starting a new Tor process is not a good option.</para> | ||
/// </remarks> | ||
[FriendlyName("Enabled (connect-only mode)")] | ||
EnabledOnlyRunning, | ||
} |
Oops, something went wrong.