Skip to content

Commit a9d77e5

Browse files
authored
Merge pull request #57 from BitPoolMining/Dev
Release 1.0.1.27 Removed Old Coins + Updated Miners
2 parents e0a9b03 + 67ba77b commit a9d77e5

File tree

332 files changed

+686
-9478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

332 files changed

+686
-9478
lines changed

BitPoolMiner/BitPoolMiner.csproj

Lines changed: 148 additions & 432 deletions
Large diffs are not rendered by default.

BitPoolMiner/Enums/CoinType.cs

Lines changed: 52 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -9,40 +9,40 @@ public enum CoinType
99
{
1010
UNDEFINED,
1111
VTC,
12-
MONA,
13-
HUSH,
14-
KMD,
15-
EXP,
16-
ETH,
12+
//MONA,
13+
//HUSH,
14+
//KMD,
15+
//EXP,
16+
//ETH,
1717
ETC,
18-
BTCP,
19-
BTG,
20-
ZEN,
21-
ZCL,
22-
RVN,
23-
SUQA
18+
//BTCP,
19+
//BTG,
20+
//ZEN,
21+
//ZCL,
22+
RVN
23+
//SUQA,
2424
}
25-
25+
2626
public static class CoinLogos
2727
{
2828
/// <summary>
2929
/// Coin icon files
3030
/// </summary>
3131
public static readonly Dictionary<CoinType, string> CoinLogoDictionary = new Dictionary<CoinType, string>
3232
{
33-
{ CoinType.HUSH, @"Resources\\Images\\hush.png" },
34-
{ CoinType.KMD, @"Resources\\Images\\kmd.png" },
33+
//{ CoinType.HUSH, @"Resources\\Images\\hush.png" },
34+
//{ CoinType.KMD, @"Resources\\Images\\kmd.png" },
3535
{ CoinType.VTC, @"Resources\\Images\\vtc.png" },
36-
{ CoinType.MONA, @"Resources\\Images\\mona.png" },
37-
{ CoinType.EXP, @"Resources\\Images\\exp.png" },
38-
{ CoinType.ETH, @"Resources\\Images\\eth.png" },
36+
//{ CoinType.MONA, @"Resources\\Images\\mona.png" },
37+
//{ CoinType.EXP, @"Resources\\Images\\exp.png" },
38+
//{ CoinType.ETH, @"Resources\\Images\\eth.png" },
3939
{ CoinType.ETC, @"Resources\\Images\\etc.png" },
40-
{ CoinType.BTG, @"Resources\\Images\\btg.png" },
41-
{ CoinType.BTCP, @"Resources\\Images\\btcp.png" },
42-
{ CoinType.ZEN, @"Resources\\Images\\zencash.png" },
43-
{ CoinType.ZCL, @"Resources\\Images\\zcl.png" },
40+
//{ CoinType.BTG, @"Resources\\Images\\btg.png" },
41+
//{ CoinType.BTCP, @"Resources\\Images\\btcp.png" },
42+
//{ CoinType.ZEN, @"Resources\\Images\\zencash.png" },
43+
//{ CoinType.ZCL, @"Resources\\Images\\zcl.png" },
4444
{ CoinType.RVN, @"Resources\\Images\\rvn.png" },
45-
{ CoinType.SUQA, @"Resources\\Images\\suqa.png" },
45+
//{ CoinType.SUQA, @"Resources\\Images\\suqa.png" },
4646
};
4747
}
4848

@@ -53,19 +53,19 @@ public static class CoinNames
5353
/// </summary>
5454
public static readonly Dictionary<CoinType, string> CoinNameDictionary = new Dictionary<CoinType, string>
5555
{
56-
{ CoinType.HUSH, "HUSH" },
57-
{ CoinType.KMD, "KOMODO" },
56+
//{ CoinType.HUSH, "HUSH" },
57+
//{ CoinType.KMD, "KOMODO" },
5858
{ CoinType.VTC, "VERTCOIN" },
59-
{ CoinType.MONA, "MONACOIN" },
60-
{ CoinType.EXP, "EXPANSE" },
61-
{ CoinType.ETH, "ETHEREUM" },
59+
//{ CoinType.MONA, "MONACOIN" },
60+
//{ CoinType.EXP, "EXPANSE" },
61+
//{ CoinType.ETH, "ETHEREUM" },
6262
{ CoinType.ETC, "ETHEREUM CLASSIC" },
63-
{ CoinType.BTG, "BITCOIN GOLD" },
64-
{ CoinType.BTCP, "BITCOIN PRIVATE" },
65-
{ CoinType.ZEN, "ZENCASH" },
66-
{ CoinType.ZCL, "ZCLASSIC" },
63+
//{ CoinType.BTG, "BITCOIN GOLD" },
64+
//{ CoinType.BTCP, "BITCOIN PRIVATE" },
65+
//{ CoinType.ZEN, "ZENCASH" },
66+
//{ CoinType.ZCL, "ZCLASSIC" },
6767
{ CoinType.RVN, "RAVENCOIN" },
68-
{ CoinType.SUQA, "SUQA" },
68+
//{ CoinType.SUQA, "SUQA" },
6969
};
7070
}
7171

@@ -76,19 +76,19 @@ public static class CoinWhatToMineIDDictionary
7676
/// </summary>
7777
public static readonly Dictionary<CoinType, int> CoinWhatToMineID = new Dictionary<CoinType, int>
7878
{
79-
{ CoinType.HUSH, 168 },
80-
{ CoinType.KMD, 174 },
79+
//{ CoinType.HUSH, 168 },
80+
//{ CoinType.KMD, 174 },
8181
{ CoinType.VTC, 5 },
82-
{ CoinType.MONA, 148 },
83-
{ CoinType.EXP, 154 },
84-
{ CoinType.ETH, 151 },
82+
//{ CoinType.MONA, 148 },
83+
//{ CoinType.EXP, 154 },
84+
//{ CoinType.ETH, 151 },
8585
{ CoinType.ETC, 162 },
86-
{ CoinType.BTG, 214 },
87-
{ CoinType.BTCP, 230 },
88-
{ CoinType.ZEN, 185 },
89-
{ CoinType.ZCL, 167 },
86+
//{ CoinType.BTG, 214 },
87+
//{ CoinType.BTCP, 230 },
88+
//{ CoinType.ZEN, 185 },
89+
//{ CoinType.ZCL, 167 },
9090
{ CoinType.RVN, 234 },
91-
{ CoinType.SUQA, 277 },
91+
//{ CoinType.SUQA, 277 },
9292
};
9393
}
9494

@@ -99,19 +99,19 @@ public static class CoinPaymentChartColor
9999
/// </summary>
100100
public static readonly Dictionary<CoinType, string> CoinPaymentChartColorDictionary = new Dictionary<CoinType, string>
101101
{
102-
{ CoinType.HUSH, "#2d99dc" },
103-
{ CoinType.KMD, "#35bda8" },
102+
//{ CoinType.HUSH, "#2d99dc" },
103+
//{ CoinType.KMD, "#35bda8" },
104104
{ CoinType.VTC, "#86b34d" },
105-
{ CoinType.MONA, "#e66c40" },
106-
{ CoinType.EXP, "#cb3e4b" },
107-
{ CoinType.ETH, "#08a5e1" },
105+
//{ CoinType.MONA, "#e66c40" },
106+
//{ CoinType.EXP, "#cb3e4b" },
107+
//{ CoinType.ETH, "#08a5e1" },
108108
{ CoinType.ETC, "#343286" },
109-
{ CoinType.BTG, "#732c86" },
110-
{ CoinType.BTCP, "#78fd9a" },
111-
{ CoinType.ZEN, "#68fee0" },
112-
{ CoinType.ZCL, "#a072fc" },
109+
//{ CoinType.BTG, "#732c86" },
110+
//{ CoinType.BTCP, "#78fd9a" },
111+
//{ CoinType.ZEN, "#68fee0" },
112+
//{ CoinType.ZCL, "#a072fc" },
113113
{ CoinType.RVN, "#68fee0" },
114-
{ CoinType.SUQA, "#35bda8" },
114+
//{ CoinType.SUQA, "#35bda8" },
115115
};
116116
}
117117
}

BitPoolMiner/Enums/MinerBaseType.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,8 @@ public enum MinerBaseType
44
{
55
UNDEFINED,
66
CCMiner,
7-
EWBF,
8-
DSTM,
97
Claymore,
10-
CCMinerNanashi,
118
LyclMiner,
12-
EWBF_NO_ASIC,
13-
CCMinerRaven,
149
TRex,
1510
WildRig,
1611
CryptoDredge

BitPoolMiner/Formatter/MinerMonitorStatsFormatter.cs

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,15 +12,23 @@ public static ObservableCollection<MinerMonitorStat> FormatMinerMonitorStats(Obs
1212
{
1313
try
1414
{
15+
ObservableCollection<MinerMonitorStat> minerMonitorStatListSupported = new ObservableCollection<MinerMonitorStat>();
1516
foreach (MinerMonitorStat minerMonitorStat in minerMonitorStatList)
1617
{
18+
// Skip unsupported coin types
19+
if (Enum.IsDefined(typeof(CoinType), minerMonitorStat.CoinType) == false)
20+
continue;
21+
1722
// Update coin logo for each miner
1823
CoinLogos.CoinLogoDictionary.TryGetValue(minerMonitorStat.CoinType, out string logoSourceLocation);
1924
if (minerMonitorStat.CoinType != CoinType.UNDEFINED)
2025
minerMonitorStat.CoinLogo = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, logoSourceLocation);
26+
27+
minerMonitorStatListSupported.Add(minerMonitorStat);
28+
2129
}
2230

23-
return minerMonitorStatList;
31+
return minerMonitorStatListSupported;
2432
}
2533
catch (Exception ex)
2634
{
-1.35 MB
Binary file not shown.
-24.4 KB
Binary file not shown.
-24 KB
Binary file not shown.
-26.1 KB
Binary file not shown.
-25.7 KB
Binary file not shown.
-58.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)