Move EventArgs class to new files.
ADD
WalletWasabi/Blockchain/Transactions/DoubleSpendReceivedEventArgs.cs
+using System.Collections.Generic;
+using WalletWasabi.Blockchain.TransactionOutputs;
+
+namespace WalletWasabi.Blockchain.Transactions
+{
+ public class DoubleSpendReceivedEventArgs
+ {
+ public DoubleSpendReceivedEventArgs(SmartTransaction smartTransaction, IEnumerable<SmartCoin> remove)
+ {
+ SmartTransaction = smartTransaction;
+ Remove = remove;
+ }
+
+ public SmartTransaction SmartTransaction { get; }
+ public IEnumerable<SmartCoin> Remove { get; }
+ }
+}

ADD
WalletWasabi/Blockchain/Transactions/ReplaceTransactionReceivedEventArgs.cs
+using System.Collections.Generic;
+using WalletWasabi.Blockchain.TransactionOutputs;
+
+namespace WalletWasabi.Blockchain.Transactions
+{
+ public class ReplaceTransactionReceivedEventArgs
+ {
+ public ReplaceTransactionReceivedEventArgs(SmartTransaction smartTransaction, IEnumerable<SmartCoin> destroyedCoins, IEnumerable<SmartCoin> restoredCoins)
+ {
+ SmartTransaction = smartTransaction;
+ DestroyedCoins = destroyedCoins;
+ RestoredCoins = restoredCoins;
+ }
+
+ public SmartTransaction SmartTransaction { get; }
+ public IEnumerable<SmartCoin> DestroyedCoins { get; }
+ public IEnumerable<SmartCoin> RestoredCoins { get; }
+ }
+}

MODIFY
WalletWasabi/Blockchain/Transactions/TransactionProcessor.cs
WalletWasabi/Blockchain/Transactions/TransactionProcessor.cs
@@ -9,32 +9,6 @@ using WalletWasabi.Models;
namespace WalletWasabi.Blockchain.Transactions
{
- public class DoubleSpendReceivedEventArgs
- {
- public DoubleSpendReceivedEventArgs(SmartTransaction smartTransaction, IEnumerable<SmartCoin> remove)
- {
- SmartTransaction = smartTransaction;
- Remove = remove;
- }
-
- public SmartTransaction SmartTransaction { get; }
- public IEnumerable<SmartCoin> Remove { get; }
- }
-
- public class ReplaceTransactionReceivedEventArgs
- {
- public ReplaceTransactionReceivedEventArgs(SmartTransaction smartTransaction, IEnumerable<SmartCoin> destroyedCoins, IEnumerable<SmartCoin> restoredCoins)
- {
- SmartTransaction = smartTransaction;
- DestroyedCoins = destroyedCoins;
- RestoredCoins = restoredCoins;
- }
-
- public SmartTransaction SmartTransaction { get; }
- public IEnumerable<SmartCoin> DestroyedCoins { get; }
- public IEnumerable<SmartCoin> RestoredCoins { get; }
- }
-
public class TransactionProcessor
{
public static object Lock { get; } = new object();

Move EventArgs class to new files.