TO REVERT: Measure
MODIFY
WalletWasabi/Stores/IndexStore.cs
WalletWasabi/Stores/IndexStore.cs
@@ -139,6 +139,8 @@ public class IndexStore : IAsyncDisposable
try
{
if (MatureIndexFileManager.Exists())
+ {
+ using (BenchmarkLogger.Measure(LogLevel.Info, "XXX MatureIndexFileManager loading"))
{
using var sr = MatureIndexFileManager.OpenText();
if (!sr.EndOfStream)
@@ -159,6 +161,7 @@ public class IndexStore : IAsyncDisposable
}
}
}
+ }
catch (Exception ex) when (ex is not OperationCanceledException)
{
// We found a corrupted entry. Stop here.

TO REVERT: Measure