Use IoManager
MODIFY
WalletWasabi/Blockchain/Transactions/TransactionStore.cs
WalletWasabi/Blockchain/Transactions/TransactionStore.cs
@@ -19,7 +19,7 @@ namespace WalletWasabi.Blockchain.Transactions
private Dictionary<uint256, SmartTransaction> Transactions { get; set; }
private object TransactionsLock { get; set; }
- private DigestableIoManager TransactionsFileManager { get; set; }
+ private IoManager TransactionsFileManager { get; set; }
private AsyncLock TransactionsAsyncLock { get; set; } = new AsyncLock();
private List<ITxStoreOperation> Operations { get; } = new List<ITxStoreOperation>();
private object OperationsLock { get; } = new object();
@@ -38,7 +38,7 @@ namespace WalletWasabi.Blockchain.Transactions
var transactionsFilePath = Path.Combine(WorkFolderPath, fileName);
// In Transactions.dat every line starts with the tx id, so the first character is the best for digest creation.
- TransactionsFileManager = new DigestableIoManager(transactionsFilePath, 0);
+ TransactionsFileManager = new IoManager(transactionsFilePath);
using (await TransactionsAsyncLock.LockAsync().ConfigureAwait(false))
{

MODIFY
WalletWasabi/Io/IoManager.cs
WalletWasabi/Io/IoManager.cs
@@ -8,7 +8,7 @@ using WalletWasabi.Helpers;
namespace WalletWasabi.Io
{
- public abstract class IoManager
+ public class IoManager
{
public IoManager(string filePath)
{

Use IoManager