Skip to content

Commit 95351f2

Browse files
committed
Added support for T-Rex miner
1 parent 8e4e503 commit 95351f2

14 files changed

Lines changed: 626 additions & 1 deletion

File tree

BitPoolMiner/BitPoolMiner.csproj

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,7 @@
157157
<Compile Include="Formatter\WhatToMineDataFormatter.cs" />
158158
<Compile Include="Formatter\MinerMonitorStatsFormatter.cs" />
159159
<Compile Include="Miners\Ccminer.cs" />
160+
<Compile Include="Miners\TRex.cs" />
160161
<Compile Include="Miners\CCMinerForkRaven.cs" />
161162
<Compile Include="Miners\CCMinerForkNanashi.cs" />
162163
<Compile Include="Miners\Claymore.cs" />
@@ -183,6 +184,7 @@
183184
<Compile Include="Models\MinerPayments\MinerPaymentsGroupedByDay.cs" />
184185
<Compile Include="Models\MinerPayments\MinerPaymentSummary.cs" />
185186
<Compile Include="Models\Profitability\ProfitabilityData.cs" />
187+
<Compile Include="Models\RPCResponse\TRexTemplate.cs" />
186188
<Compile Include="Models\RPCResponse\ClaymoreTemplate.cs" />
187189
<Compile Include="Models\RPCResponse\DSTMTemplate.cs" />
188190
<Compile Include="Models\RPCResponse\EWBFTemplate.cs" />
@@ -307,6 +309,9 @@
307309
<Content Include="MinerApps\ccminer-ravencoin-v2.6\color.txt">
308310
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
309311
</Content>
312+
<Content Include="MinerApps\ccminer-ravencoin-v2.6\msvcr120.dll">
313+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
314+
</Content>
310315
<Content Include="MinerApps\EWBF_NO_ASIC\cudart32_91.dll">
311316
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
312317
</Content>
@@ -319,6 +324,15 @@
319324
<Content Include="MinerApps\EWBF_NO_ASIC\vcruntime140.dll">
320325
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
321326
</Content>
327+
<Content Include="MinerApps\t-rex-0.7.2-win-cuda10.0\msvcr71.dll">
328+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
329+
</Content>
330+
<Content Include="MinerApps\t-rex-0.7.2-win-cuda10.0\t-rex-help.txt">
331+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
332+
</Content>
333+
<Content Include="MinerApps\t-rex-0.7.2-win-cuda10.0\t-rex.exe">
334+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
335+
</Content>
322336
<Content Include="Resources\Images\etc.png">
323337
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
324338
</Content>
@@ -539,6 +553,18 @@
539553
<Content Include="MinerApps\lyclMiner015\kernels\skein\skein.cl" />
540554
<None Include="MinerApps\lyclMiner015\lyclMiner.conf" />
541555
<None Include="MinerApps\lyclMiner015\lyclMiner_default.conf" />
556+
<Content Include="MinerApps\t-rex-0.7.2-win-cuda10.0\BCD-failover.bat">
557+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
558+
</Content>
559+
<Content Include="MinerApps\t-rex-0.7.2-win-cuda10.0\BCD-icemining.bat">
560+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
561+
</Content>
562+
<Content Include="MinerApps\t-rex-0.7.2-win-cuda10.0\config_example">
563+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
564+
</Content>
565+
<Content Include="MinerApps\t-rex-0.7.2-win-cuda10.0\RVN-gos.cx.bat">
566+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
567+
</Content>
542568
<None Include="NLog.xsd">
543569
<SubType>Designer</SubType>
544570
</None>

BitPoolMiner/Enums/MinerBaseType.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ public enum MinerBaseType
1010
CCMinerNanashi,
1111
LyclMiner,
1212
EWBF_NO_ASIC,
13-
CCMinerRaven
13+
CCMinerRaven,
14+
TRex
1415
}
1516
}
948 KB
Binary file not shown.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
:start
3+
t-rex -a bcd -o stratum+tcp://eu.gos.cx:8844 -u 1MKrTujwHxda6knL8hHrPMi7Git4upX56E -p c=BCD -o stratum+tcp://mine.icemining.ca:8433 -u 1MKrTujwHxda6knL8hHrPMi7Git4upX56E -p c=BCD -i 20
4+
goto start
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
@echo off
2+
:start
3+
t-rex -a bcd -o stratum+tcp://mine.icemining.ca:8433 -u 1MKrTujwHxda6knL8hHrPMi7Git4upX56E -p c=BCD -i 20
4+
goto start
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
t-rex -a x16r -o stratum+tcp://us-east.rvn.bitpoolmining.com:3172 -u RQAJU3nWpA3tE2uomV54UnkDhvXQrME3LK.DSRIG05 -p x -b 127.0.0.1:4068 -J
2+
pause
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
// List of main and failover pools
3+
"pools": [
4+
{
5+
"user": "1MKrTujwHxda6knL8hHrPMi7Git4upX56E", // wallet address
6+
"url": "stratum+tcp://mine.icemining.ca:8433", // pool stratum
7+
"pass": "c=BCD" // password
8+
},
9+
{
10+
"user": "1MKrTujwHxda6knL8hHrPMi7Git4upX56E",
11+
"url": "stratum+tcp://eu.gos.cx:8844",
12+
"pass": "c=BCD"
13+
}
14+
],
15+
16+
// Telnet API bind address.
17+
"api-bind-telnet": "0.0.0.0:4068", // Set to "0" to disable Telnet API
18+
19+
// HTTP API bind address.
20+
"api-bind-http": "0.0.0.0:4067", // Set to "0" to disable HTTP API
21+
22+
// If set to true enables json response for Telnet API.
23+
"json-response": false,
24+
25+
// Connection retries count. After this number of attempts failover pool will be switched.
26+
"retries": 3,
27+
28+
// Pause in seconds between retries.
29+
"retry-pause": 10,
30+
31+
// Maximum time in seconds your pool connection may have no ping. After that reconnect will happen.
32+
"timeout": 180,
33+
34+
// Name of mining algorithm. You can see available names at the top of the help file.
35+
"algo": "bcd",
36+
37+
// This is GPU index in the system. You can select multiple GPUs sequentially: "devices": "0,2,3"
38+
"devices": 0, // Use only the first GPU in your rig. Remove this parameter to use all GPUs
39+
40+
// Intensity used with your GPUs. It can be different for each GPU, e.g. "intensity": "20,21.4,23"
41+
"intensity": 20,
42+
43+
// Sliding window length in sec used to compute average hashrate.
44+
"hashrate-avr": 30, // Set to 3600 to get average over an hour
45+
46+
// Path to the log file. If only file name set log will be saved into directory with the miner.
47+
"log-path": "t-rex.log",
48+
// "log-path": "/home/x/t-rex.log", // Absolute path
49+
50+
// Set process priority (default: 2) 1 below normal, 2 normal to 5 highest.
51+
"cpu-priority": 2,
52+
53+
// Shutdown miner immediately if has any CUDA error.
54+
"exit-on-cuda-error": true,
55+
56+
// Shutdown miner immediately if pool connection lost.
57+
"exit-on-connection-lost": false,
58+
59+
// Forces miner to immediately reconnect to pool on N successively failed shares (default: 10).
60+
"reconnect-on-fail-shares": 10,
61+
62+
// User protocol logging.
63+
"protocol-dump": false, // Set to true to turn it on.
64+
65+
// Configurable GPUs report frequency. By default every 5 shares.
66+
"gpu-report-interval": 5,
67+
68+
// Disable color output for console
69+
"no-color": false,
70+
71+
// Quiet mode. No GPU stats at all.
72+
"quiet": false,
73+
74+
// Shutdown miner after timeout in sec. By default disabled. (set to 0)
75+
"time-limit": 0,
76+
77+
// Disables device till miner shutdown in case of overheat. Limit in Celsius. (set to 0)
78+
"temperature-limit": 0,
79+
80+
// GPU temperature to enable card after it's been disabled. (default: 0 - disabled)
81+
"temperature-start": 0
82+
}
340 KB
Binary file not shown.

0 commit comments

Comments
 (0)