Rename WalletManager Initialize to RegisterServices
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -329,7 +329,7 @@ namespace WalletWasabi.Gui
#endregion JsonRpcServerInitialization
- WalletManager.Initialize(BitcoinStore, Synchronizer, Nodes, DataDir, Config.ServiceConfiguration, FeeProviders, BitcoinCoreNode);
+ WalletManager.RegisterServices(BitcoinStore, Synchronizer, Nodes, DataDir, Config.ServiceConfiguration, FeeProviders, BitcoinCoreNode);
}
catch (Exception ex)
{

MODIFY
WalletWasabi.Tests/RegressionTests/BuildTests.cs
WalletWasabi.Tests/RegressionTests/BuildTests.cs
@@ -219,7 +219,7 @@ namespace WalletWasabi.Tests.RegressionTests
// 5. Create wallet service.
var workDir = Common.GetWorkDir();
var walletManager = new WalletManager(null);
- walletManager.Initialize(bitcoinStore, synchronizer, nodes, workDir, serviceConfiguration, synchronizer, null);
+ walletManager.RegisterServices(bitcoinStore, synchronizer, nodes, workDir, serviceConfiguration, synchronizer, null);
var baseTip = await rpc.GetBestBlockHashAsync();

MODIFY
WalletWasabi.Tests/RegressionTests/SendTests.cs
WalletWasabi.Tests/RegressionTests/SendTests.cs
@@ -58,7 +58,7 @@ namespace WalletWasabi.Tests.RegressionTests
// 5. Create wallet service.
var workDir = Common.GetWorkDir();
var walletManager = new WalletManager(null);
- walletManager.Initialize(bitcoinStore, synchronizer, nodes, workDir, serviceConfiguration, synchronizer, null);
+ walletManager.RegisterServices(bitcoinStore, synchronizer, nodes, workDir, serviceConfiguration, synchronizer, null);
// Get some money, make it confirm.
var key = keyManager.GetNextReceiveKey("foo label", out _);
@@ -532,7 +532,7 @@ namespace WalletWasabi.Tests.RegressionTests
// 5. Create wallet service.
var workDir = Common.GetWorkDir();
var walletManager = new WalletManager(null);
- walletManager.Initialize(bitcoinStore, synchronizer, nodes, workDir, serviceConfiguration, synchronizer, null);
+ walletManager.RegisterServices(bitcoinStore, synchronizer, nodes, workDir, serviceConfiguration, synchronizer, null);
// Get some money, make it confirm.
var key = keyManager.GetNextReceiveKey("foo label", out _);

MODIFY
WalletWasabi/Wallets/WalletManager.cs
WalletWasabi/Wallets/WalletManager.cs
@@ -258,7 +258,7 @@ namespace WalletWasabi.Wallets
}
}
- public void Initialize(BitcoinStore bitcoinStore, WasabiSynchronizer synchronizer, NodesGroup nodes, string dataDir, ServiceConfiguration serviceConfiguration, IFeeProvider feeProvider, CoreNode bitcoinCoreNode)
+ public void RegisterServices(BitcoinStore bitcoinStore, WasabiSynchronizer synchronizer, NodesGroup nodes, string dataDir, ServiceConfiguration serviceConfiguration, IFeeProvider feeProvider, CoreNode bitcoinCoreNode)
{
BitcoinStore = bitcoinStore;
Synchronizer = synchronizer;

Rename WalletManager Initialize to RegisterServices