create hash only on last char
MODIFY
WalletWasabi/Blockchain/Transactions/TransactionStore.cs
WalletWasabi/Blockchain/Transactions/TransactionStore.cs
@@ -35,7 +35,7 @@ namespace WalletWasabi.Blockchain.Transactions
var fileName = Path.Combine(WorkFolderPath, "Transactions.dat");
var transactionsFilePath = Path.Combine(WorkFolderPath, fileName);
- TransactionsFileManager = new DigestableSafeAsyncLockIoManager(transactionsFilePath);
+ TransactionsFileManager = new DigestableSafeAsyncLockIoManager(transactionsFilePath, -1);
using (await TransactionsFileManager.AsyncLock.LockAsync().ConfigureAwait(false))
{

MODIFY
WalletWasabi/Io/DigestableSafeMutexIoManager.cs
WalletWasabi/Io/DigestableSafeMutexIoManager.cs
@@ -20,7 +20,6 @@ namespace WalletWasabi.Io
/// <param name="digestRandomIndex">Use the random index of the line to create digest faster. -1 is special value, it means the last character. If null then hash whole file.</param>
public DigestableSafeAsyncLockIoManager(string filePath, int? digestRandomIndex = null) : base(filePath)
-
{
DigestRandomIndex = digestRandomIndex;

create hash only on last char