Redo CR suggestions
MODIFY
WalletWasabi/Models/CoinsView.cs
WalletWasabi/Models/CoinsView.cs
@@ -8,23 +8,6 @@ using WalletWasabi.Models;
namespace WalletWasabi.Models
{
- public interface ICoinsView : IEnumerable<SmartCoin>
- {
- ICoinsView AtBlockHeight(Height height);
- ICoinsView Available();
- ICoinsView ChildrenOf(SmartCoin coin);
- ICoinsView CoinJoinInProcess();
- ICoinsView Confirmed();
- ICoinsView DescendantOf(SmartCoin coin);
- ICoinsView FilterBy(Func<SmartCoin, bool> expression);
- ICoinsView OutPoints(IEnumerable<TxoRef> outPoints);
- ICoinsView SpentBy(uint256 txid);
- SmartCoin[] ToArray();
- Money TotalAmount();
- ICoinsView Unconfirmed();
- ICoinsView UnSpent();
- }
-
public class CoinsView : ICoinsView
{
private IEnumerable<SmartCoin> Coins { get; }

ADD
WalletWasabi/Models/ICoinsView.cs
+using System;
+using System.Collections.Generic;
+using NBitcoin;
+
+namespace WalletWasabi.Models
+{
+ public interface ICoinsView : IEnumerable<SmartCoin>
+ {
+ ICoinsView AtBlockHeight(Height height);
+ ICoinsView Available();
+ ICoinsView ChildrenOf(SmartCoin coin);
+ ICoinsView CoinJoinInProcess();
+ ICoinsView Confirmed();
+ ICoinsView DescendantOf(SmartCoin coin);
+ ICoinsView FilterBy(Func<SmartCoin, bool> expression);
+ ICoinsView OutPoints(IEnumerable<TxoRef> outPoints);
+ ICoinsView SpentBy(uint256 txid);
+ SmartCoin[] ToArray();
+ Money TotalAmount();
+ ICoinsView Unconfirmed();
+ ICoinsView UnSpent();
+ }
+}

Redo CR suggestions