If not fully synced don't clean the mempool (some ppl gets surprised by that)
MODIFY
WalletWasabi/Services/WalletService.cs
WalletWasabi/Services/WalletService.cs
@@ -290,6 +290,9 @@ namespace WalletWasabi.Services
return;
}
+ // Only clean the mempool if we're fully synchronized.
+ if (BitcoinStore.SmartHeaderChain.HashesLeft == 0)
+ {
try
{
using var client = new WasabiClient(Synchronizer.WasabiClient.TorClient.DestinationUriAction, Synchronizer.WasabiClient.TorClient.TorSocks5EndPoint);
@@ -322,6 +325,11 @@ namespace WalletWasabi.Services
Logger.LogWarning(ex);
}
}
+ else
+ {
+ TransactionProcessor.Process(BitcoinStore.TransactionStore.MempoolStore.GetTransactions());
+ }
+ }
private async Task ProcessFilterModelAsync(FilterModel filterModel, CancellationToken cancel)
{

If not fully synced don't clean the mempool (some ppl gets surprised by that)