Skip to content

Commit

Permalink
Move the folder protocol to the test project
Browse files Browse the repository at this point in the history
  • Loading branch information
dangershony committed Nov 14, 2023
1 parent 0049090 commit 7aaf2ae
Show file tree
Hide file tree
Showing 13 changed files with 14 additions and 12 deletions.
1 change: 0 additions & 1 deletion src/Angor.Test/DerivationOperationsTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using Angor.Shared;
using Angor.Shared.Models;
using Angor.Shared.Networks;
using Angor.Shared.Protocol;
using Blockcore.Consensus.ScriptInfo;
using Blockcore.NBitcoin;
using Blockcore.NBitcoin.BIP32;
Expand Down
1 change: 1 addition & 0 deletions src/Angor.Test/InvestmentOperationsTest.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using Angor.Shared;
using Angor.Shared.Models;
using Angor.Shared.Networks;
using Angor.Test.Protocol;
using Blockcore.NBitcoin;
using Blockcore.NBitcoin.Crypto;
using Blockcore.NBitcoin.DataEncoders;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
using System.Linq.Expressions;
using System.Text;
using Angor.Shared;
using Angor.Shared.Models;
using Blockcore.NBitcoin;
using NBitcoin;
using NBitcoin.Crypto;
using Script = Blockcore.Consensus.ScriptInfo.Script;


namespace Angor.Shared.Protocol
namespace Angor.Test.Protocol
{
public class AngorScripts
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
using Angor.Shared;
using System.Text;
using Angor.Shared;
using Angor.Shared.Models;
using Angor.Shared.Protocol;
using Blockcore.NBitcoin.DataEncoders;
using NBitcoin;
using NBitcoin.Policy;
using System.Text;
using BitcoinAddress = Blockcore.NBitcoin.BitcoinAddress;
using FeeRate = Blockcore.NBitcoin.FeeRate;
using IndexedTxOut = NBitcoin.IndexedTxOut;
Expand All @@ -21,6 +20,8 @@
using Utils = NBitcoin.Utils;
using WitScript = NBitcoin.WitScript;

namespace Angor.Test.Protocol;

public class InvestmentOperations
{
private readonly IWalletOperations _walletOperations;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Blockcore.NBitcoin;
using Blockcore.Networks;

namespace Angor.Shared.Protocol;
namespace Angor.Test.Protocol;

public class ProjectOperations
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
using Angor.Shared;
using Angor.Shared.Models;
using Blockcore.Consensus.ScriptInfo;
using Blockcore.NBitcoin;

namespace Angor.Shared.Protocol;
namespace Angor.Test.Protocol;

public class ScriptBuilder
{
Expand Down
1 change: 1 addition & 0 deletions src/Angor.Test/ProtocolNew/FounderTransactionActionTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Angor.Shared.ProtocolNew;
using Angor.Shared.ProtocolNew.Scripts;
using Angor.Shared.ProtocolNew.TransactionBuilders;
using Angor.Test.Protocol;
using Blockcore.NBitcoin;
using Blockcore.NBitcoin.DataEncoders;
using Microsoft.Extensions.Logging.Abstractions;
Expand Down
1 change: 1 addition & 0 deletions src/Angor.Test/ProtocolNew/InvestmentIntegrationsTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
using Angor.Shared.ProtocolNew;
using Angor.Shared.ProtocolNew.Scripts;
using Angor.Shared.ProtocolNew.TransactionBuilders;
using Angor.Test.Protocol;
using Blockcore.Consensus.ScriptInfo;
using Blockcore.Consensus.TransactionInfo;
using Blockcore.NBitcoin;
Expand Down
2 changes: 1 addition & 1 deletion src/Angor.Test/ScriptTest.cs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Angor.Shared;
using Angor.Shared.Models;
using Angor.Shared.Networks;
using Angor.Shared.Protocol;
using Angor.Test.Protocol;
using Blockcore.NBitcoin;
using Blockcore.NBitcoin.Crypto;

Expand Down
2 changes: 1 addition & 1 deletion src/Angor.Test/ScriptThresholdTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using Angor.Shared;
using Angor.Shared.Protocol;
using Angor.Test.Protocol;

namespace Angor.Test
{
Expand Down
1 change: 0 additions & 1 deletion src/Angor/Client/Pages/Invest.razor
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
@using Angor.Shared
@using Angor.Client.Storage
@using Angor.Shared.Models
@using Angor.Shared.Protocol
@using Blockcore.Consensus.TransactionInfo
@using Blockcore.NBitcoin
@using Angor.Client.Services
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
using System.Linq.Expressions;
using System.Text;
using Angor.Shared.Models;
using Angor.Shared.Protocol;
using Blockcore.NBitcoin;
using NBitcoin;
using NBitcoin.Crypto;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Angor.Shared.Models;
using Angor.Shared.Protocol;
using Angor.Shared.ProtocolNew.Scripts;
using Blockcore.Consensus.ScriptInfo;
using Blockcore.Consensus.TransactionInfo;
Expand Down

0 comments on commit 7aaf2ae

Please sign in to comment.