-
Notifications
You must be signed in to change notification settings - Fork 213
/
ServerTester.Environment.cs
104 lines (82 loc) · 3.39 KB
/
ServerTester.Environment.cs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
using NBitcoin.Tests;
using NBitcoin;
namespace NBXplorer.Tests
{
public partial class ServerTester
{
NBXplorerNetworkProvider _Provider = new NBXplorerNetworkProvider(ChainName.Regtest);
public bool CreateWallet { get; set; } = false;
private void SetEnvironment()
{
//CryptoCode = "AGM";
//nodeDownloadData = NodeDownloadData.Argoneum.v1_4_1;
//Network = NBitcoin.Altcoins.Argoneum.Instance.Regtest;
//CryptoCode = "LTC";
//nodeDownloadData = NodeDownloadData.Litecoin.v0_16_3;
//Network = NBitcoin.Altcoins.Litecoin.Instance.Regtest;
//CryptoCode = "BCH";
//nodeDownloadData = NodeDownloadData.BCash.v22_1_0;
//NBXplorerNetwork = _Provider.GetBCH();
//Tests of DOGE are broken because it outpoint locking seems to work differently
//CryptoCode = "DOGE";
//nodeDownloadData = NodeDownloadData.Dogecoin.v1_10_0;
//Network = NBitcoin.Altcoins.Dogecoin.Instance.Regtest;
//RPCStringAmount = false;
//CryptoCode = "DASH";
//nodeDownloadData = NodeDownloadData.Dash.v0_12_2;
//Network = NBitcoin.Altcoins.Dash.Instance.Regtest;
//CryptoCode = "TRC";
//nodeDownloadData = NodeDownloadData.Terracoin.v0_12_2;
//Network = NBitcoin.Altcoins.Terracoin.Instance.Regtest;
//CryptoCode = "POLIS";
//nodeDownloadData = NodeDownloadData.Polis.v1_3_1;
//Network = NBitcoin.Altcoins.Polis.Instance.Regtest;
//CryptoCode = "BTG";
//nodeDownloadData = NodeDownloadData.BGold.v0_15_0;
//Network = NBitcoin.Altcoins.BGold.Instance.Regtest;
//CryptoCode = "MONA";
//nodeDownloadData = NodeDownloadData.Monacoin.v0_15_1;
//Network = NBitcoin.Altcoins.Monacoin.Instance.Regtest;
//CryptoCode = "FTC";
//nodeDownloadData = NodeDownloadData.Feathercoin.v0_16_0;
//Network = NBitcoin.Altcoins.Feathercoin.Instance.Regtest;
//CryptoCode = "UFO";
//nodeDownloadData = NodeDownloadData.Ufo.v0_16_0;
//Network = NBitcoin.Altcoins.Ufo.Instance.Regtest;
//CryptoCode = "VIA";
//nodeDownloadData = NodeDownloadData.Viacoin.v0_15_1;
//Network = NBitcoin.Altcoins.Viacoin.Instance.Regtest;
//CryptoCode = "GRS";
//nodeDownloadData = NodeDownloadData.Groestlcoin.v28_0;
//Network = NBitcoin.Altcoins.Groestlcoin.Instance.Regtest;
//CryptoCode = "BTX";
//nodeDownloadData = NodeDownloadData.Bitcore.v0_90_9_10;
//Network = NBitcoin.Altcoins.Bitcore.Instance.Regtest;
//CryptoCode = "XMCC";
//nodeDownloadData = NodeDownloadData.Monoeci.v0_12_2_3;
//Network = NBitcoin.Altcoins.Monoeci.Instance.Regtest;
//RPCSupportSegwit = false;
//CryptoCode = "GBX";
//nodeDownloadData = NodeDownloadData.Gobyte.v0_12_2_4;
//Network = NBitcoin.Altcoins.Gobyte.Instance.Regtest;
//RPCSupportSegwit = false;
//CryptoCode = "COLX";
//nodeDownloadData = NodeDownloadData.Colossus.v1_1_1;
//Network = NBitcoin.Altcoins.Colossus.Instance.Regtest;
//RPCSupportSegwit = false;
//CryptoCode = "QTUM";
//nodeDownloadData = NodeDownloadData.Qtum.v0_18_3;
//NBXplorerNetwork = _Provider.GetQTUM();
//CryptoCode = "MUE";
//nodeDownloadData = NodeDownloadData.MonetaryUnit.v2_1_6;
//Network = NBitcoin.Altcoins.MonetaryUnit.Instance.Regtest;
//CryptoCode = "LBTC";
//nodeDownloadData = NodeDownloadData.Elements.v0_21_0_2;
//NBXplorerNetwork = _Provider.GetLBTC();
//
CryptoCode = "BTC";
nodeDownloadData = NodeDownloadData.Bitcoin.GetLatest();
NBXplorerNetwork = _Provider.GetBTC();
}
}
}