Rename data folders.
MODIFY
WalletWasabi.Gui/Config.cs
WalletWasabi.Gui/Config.cs
@@ -58,15 +58,15 @@ namespace WalletWasabi.Gui
public bool UseTor { get; internal set; }
[DefaultValue(false)]
- [JsonProperty(PropertyName = "StartBitcoinCoreOnStartup", DefaultValueHandling = DefaultValueHandling.Populate)]
- public bool StartBitcoinCoreOnStartup { get; internal set; }
+ [JsonProperty(PropertyName = "StartLocalBitcoinCoreOnStartup", DefaultValueHandling = DefaultValueHandling.Populate)]
+ public bool StartLocalBitcoinCoreOnStartup { get; internal set; }
[DefaultValue(true)]
- [JsonProperty(PropertyName = "StopBitcoinCoreOnShutdown", DefaultValueHandling = DefaultValueHandling.Populate)]
- public bool StopBitcoinCoreOnShutdown { get; internal set; }
+ [JsonProperty(PropertyName = "StopLocalBitcoinCoreOnShutdown", DefaultValueHandling = DefaultValueHandling.Populate)]
+ public bool StopLocalBitcoinCoreOnShutdown { get; internal set; }
[JsonProperty(PropertyName = "BitcoinCoreDataDir")]
- public string BitcoinCoreDataDir { get; internal set; } = EnvironmentHelpers.TryGetDefaultBitcoinCoreDataDir() ?? "";
+ public string LocalBitcoinCoreDataDir { get; internal set; } = EnvironmentHelpers.TryGetDefaultBitcoinCoreDataDir() ?? "";
[JsonProperty(PropertyName = "TorSocks5EndPoint")]
[JsonConverter(typeof(EndPointJsonConverter), Constants.DefaultTorSocksPort)]

MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -214,12 +214,12 @@ namespace WalletWasabi.Gui
try
{
- if (Config.StartBitcoinCoreOnStartup)
+ if (Config.StartLocalBitcoinCoreOnStartup)
{
BitcoinCoreNode = await CoreNode
.CreateAsync(new CoreNodeParams(
Network,
- Config.BitcoinCoreDataDir,
+ Config.LocalBitcoinCoreDataDir,
tryRestart: false,
tryDeleteDataDir: false,
EndPointStrategy.Custom(Config.GetBitcoinP2pEndPoint()),
@@ -647,7 +647,7 @@ namespace WalletWasabi.Gui
Logger.LogInfo($"{nameof(RegTestMempoolServingNode)} is disposed.");
}
- if (Config.StopBitcoinCoreOnShutdown && BitcoinCoreNode != null)
+ if (Config.StopLocalBitcoinCoreOnShutdown && BitcoinCoreNode != null)
{
await BitcoinCoreNode.TryStopAsync().ConfigureAwait(false);
Logger.LogInfo($"{nameof(BitcoinCoreNode)} is stopped.");

Rename data folders.