Skip to content

Commit

Permalink
update extrargs to other style
Browse files Browse the repository at this point in the history
  • Loading branch information
Quake4 committed May 3, 2018
1 parent 89e421c commit 8d9a4a7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Miners/claymore-dual-117.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ $Cfg.Algorithms | ForEach-Object {
if ($Pool.Name -contains "nicehash") {
$esm = 3
}
$extrargs = Get-Join " " @($Cfg.ExtraArgs, $_.ExtraArgs)
[MinerInfo]@{
Pool = "$($Pool.PoolName())+$($DualPool.PoolName())"
PoolKey = "$($Pool.PoolKey())+$($DualPool.PoolKey())"
Expand All @@ -53,8 +54,8 @@ $Cfg.Algorithms | ForEach-Object {
API = "claymoredual"
URI = "http://mindminer.online/miners/AMD/claymore/Claymore-Dual-Ethereum-AMD+NVIDIA-Miner-v11.7.zip"
Path = "$Name\EthDcrMiner64.exe"
ExtraArgs = "$($_.ExtraArgs)"
Arguments = "-epool $($Pool.Host):$($Pool.PortUnsecure) -ewal $($Pool.User) -epsw $($Pool.Password) -dpool $($DualPool.Host):$($DualPool.PortUnsecure) -dcoin $($_.DualAlgorithm) -dwal $($DualPool.User) -dpsw $($DualPool.Password) -retrydelay $($Config.CheckTimeout) -wd 0 -allpools 1 -esm $esm -mport -3350 -platform 1 -y 1 $($_.ExtraArgs)"
ExtraArgs = $extrargs
Arguments = "-epool $($Pool.Host):$($Pool.PortUnsecure) -ewal $($Pool.User) -epsw $($Pool.Password) -dpool $($DualPool.Host):$($DualPool.PortUnsecure) -dcoin $($_.DualAlgorithm) -dwal $($DualPool.User) -dpsw $($DualPool.Password) -retrydelay $($Config.CheckTimeout) -wd 0 -allpools 1 -esm $esm -mport -3350 -platform 1 -y 1 $extrargs"
Port = 3350
BenchmarkSeconds = if ($_.BenchmarkSeconds) { $_.BenchmarkSeconds } else { $Cfg.BenchmarkSeconds }
Fee = 2
Expand All @@ -69,8 +70,8 @@ $Cfg.Algorithms | ForEach-Object {
API = "claymoredual"
URI = "http://mindminer.online/miners/AMD/claymore/Claymore-Dual-Ethereum-AMD+NVIDIA-Miner-v11.7.zip"
Path = "$Name\EthDcrMiner64.exe"
ExtraArgs = "$($_.ExtraArgs)"
Arguments = "-epool $($Pool.Host):$($Pool.PortUnsecure) -ewal $($Pool.User) -epsw $($Pool.Password) -dpool $($DualPool.Host):$($DualPool.PortUnsecure) -dwal $($DualPool.User) -dcoin $($_.DualAlgorithm) -dpsw $($DualPool.Password) -retrydelay $($Config.CheckTimeout) -wd 0 -allpools 1 -esm $esm -mport -3360 -platform 2 $($_.ExtraArgs)"
ExtraArgs = $extrargs
Arguments = "-epool $($Pool.Host):$($Pool.PortUnsecure) -ewal $($Pool.User) -epsw $($Pool.Password) -dpool $($DualPool.Host):$($DualPool.PortUnsecure) -dwal $($DualPool.User) -dcoin $($_.DualAlgorithm) -dpsw $($DualPool.Password) -retrydelay $($Config.CheckTimeout) -wd 0 -allpools 1 -esm $esm -mport -3360 -platform 2 $extrargs"
Port = 3360
BenchmarkSeconds = if ($_.BenchmarkSeconds) { $_.BenchmarkSeconds } else { $Cfg.BenchmarkSeconds }
Fee = 2
Expand Down

0 comments on commit 8d9a4a7

Please sign in to comment.