It's not an NBitcoin extension anymore.
MODIFY
WalletWasabi/Blockchain/Transactions/SmartTransaction.cs
WalletWasabi/Blockchain/Transactions/SmartTransaction.cs
@@ -192,6 +192,12 @@ public class SmartTransaction : IEquatable<SmartTransaction>
BlockIndex = 0;
}
+ public bool IsLikelyOwnCoinjoin()
+ => WalletInputs.Any() // We must be a participant in order to be this transaction our coinjoin.
+ && Transaction.Inputs.Count != WalletInputs.Count // Some inputs must not be ours for it to be a coinjoin.
+ && Transaction.Outputs.Count != WalletOutputs.Count // Some outputs must not be ours for it to be a coinjoin.
+ && Transaction.HasIndistinguishableOutputs(); // The tx must have more than one equal output in order to be a coinjoin.
+
#region LineSerialization
public string ToLine()

MODIFY
WalletWasabi/Extensions/NBitcoinExtensions.cs
WalletWasabi/Extensions/NBitcoinExtensions.cs
@@ -150,12 +150,6 @@ public static class NBitcoinExtensions
return anonsets;
}
- public static bool IsLikelyOwnCoinjoin(this SmartTransaction me)
- => me.WalletInputs.Any() // We must be a participant in order to be this transaction our coinjoin.
- && me.Transaction.Inputs.Count != me.WalletInputs.Count // Some inputs must not be ours for it to be a coinjoin.
- && me.Transaction.Outputs.Count != me.WalletOutputs.Count // Some outputs must not be ours for it to be a coinjoin.
- && me.Transaction.HasIndistinguishableOutputs(); // The tx must have more than one equal output in order to be a coinjoin.
-
/// <summary>
/// Careful, if it's in a legacy block then this won't work.
/// </summary>

It's not an NBitcoin extension anymore.