Handle unobserved exception.
MODIFY
WalletWasabi.Gui/Global.cs
WalletWasabi.Gui/Global.cs
@@ -86,7 +86,7 @@ namespace WalletWasabi.Gui
Directory.CreateDirectory(DataDir);
Directory.CreateDirectory(WalletsDir);
Directory.CreateDirectory(WalletBackupsDir);
- RpcMonitor = new RpcMonitor(TimeSpan.FromSeconds(3));
+ RpcMonitor = new RpcMonitor(TimeSpan.FromSeconds(7));
}
public void InitializeUiConfig(UiConfig uiConfig)

MODIFY
WalletWasabi/Extensions/RPCClientExtensions.cs
WalletWasabi/Extensions/RPCClientExtensions.cs
@@ -146,14 +146,9 @@ namespace NBitcoin.RPC
{
try
{
- var batch = rpc.PrepareBatch();
- var bciTask = batch.GetBlockchainInfoAsync();
- var piTask = rpc.GetPeersInfoAsync();
- batch.SendBatch();
-
- var bci = await bciTask.ConfigureAwait(false);
+ var bci = await rpc.GetBlockchainInfoAsync().ConfigureAwait(false);
cancel.ThrowIfCancellationRequested();
- var pi = await piTask.ConfigureAwait(false);
+ var pi = await rpc.GetPeersInfoAsync().ConfigureAwait(false);
return RpcStatus.Responsive(bci.Headers, bci.Blocks, pi.Length);
}

Handle unobserved exception.