Don't show peers when Bitcoin Core is used.
MODIFY
WalletWasabi.Gui/Controls/StatusBar.xaml
WalletWasabi.Gui/Controls/StatusBar.xaml
</Grid>
<TextBlock Text="{Binding Backend, StringFormat=Backend is \{0\}, Converter={StaticResource PascalToPhraseConverter}}" Foreground="{Binding Backend, ConverterParameter=Backend, Converter={StaticResource StatusColorConverter}}" />
</StackPanel>
+ <Panel IsVisible="{Binding !UseBitcoinCore}">
<StackPanel Orientation="Horizontal" Spacing="4" IsVisible="{Binding !CriticalUpdateAvailable}">
<Grid Height="10" Width="10">
<DrawingPresenter VerticalAlignment="Center" HorizontalAlignment="Center" Drawing="{DynamicResource StatusBar_Peer}" />
</Grid>
<TextBlock Text="{Binding Peers, StringFormat=Peers: \{0\}}" Foreground="{Binding Peers, ConverterParameter=Peers, Converter={StaticResource StatusColorConverter}}" />
</StackPanel>
+ </Panel>
<StackPanel Orientation="Horizontal" Spacing="0" IsVisible="{Binding !CriticalUpdateAvailable}">
<TextBlock Text="Price: " />
<TextBlock Text="{Binding BtcPrice}" />

MODIFY
WalletWasabi.Tests/UnitTests/BitcoinCore/P2pBasedTests.cs
WalletWasabi.Tests/UnitTests/BitcoinCore/P2pBasedTests.cs
@@ -129,12 +129,8 @@ namespace WalletWasabi.Tests.UnitTests.BitcoinCore
// try
// {
// var rpc = coreNode.RpcClient;
- // await rpc.GenerateAsync(101);
- // var network = rpc.Network;
- // var dir = Path.Combine(Global.Instance.DataDir, EnvironmentHelpers.GetMethodName());
-
- // var addr = new Key().PubKey.GetSegwitAddress(network);
+ // var addr = new Key().PubKey.GetSegwitAddress(rpc.Network);
// var notifier = coreNode.TrustedNodeNotifyingBehavior;
// var blockNum = 10;
@@ -148,14 +144,12 @@ namespace WalletWasabi.Tests.UnitTests.BitcoinCore
// h => notifier.Block -= h,
// blockNum);
- // var blockTask = rpc.GenerateToAddressAsync(blockNum, addr);
+ // var hashes = await rpc.GenerateToAddressAsync(blockNum, addr);
// var aht = blockInvEventAwaiter.WaitAsync(TimeSpan.FromSeconds(21));
// var arrivedBlocks = await blockEventAwaiter.WaitAsync(TimeSpan.FromSeconds(21));
// var arrivedHashes = await aht;
- // var hashes = await blockTask;
-
// foreach (var hash in arrivedHashes)
// {
// Assert.Contains(hash, hashes);

Don't show peers when Bitcoin Core is used.