Precompute transaction hashes on deserialization
MODIFY
WalletWasabi/JsonConverters/TransactionJsonConverter.cs
WalletWasabi/JsonConverters/TransactionJsonConverter.cs
@@ -17,6 +17,8 @@ namespace WalletWasabi.JsonConverters
{
var txHex = reader.Value.ToString();
var tx = Transaction.Parse(txHex, Network.Main);
+ // Because we don't modify those transactions, we can cache the hash
+ tx.PrecomputeHash(false, true);
return tx;
}

Precompute transaction hashes on deserialization