Skip to content

Commit 1dac3d2

Browse files
committed
add support other karlsenhash on zergpool
1 parent 12f2bd4 commit 1dac3d2

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

MindMiner.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,7 @@ while ($true)
355355
"kas" = "Kaspa"
356356
"kHeavyHash" = "Kaspa"
357357
"karlsenhash" = "Karlsen"
358+
"karlsenhashnxl" = "Karlsen"
358359
"lyra2rev2" = "Lyra2re2"
359360
"lyra2r2" = "Lyra2re2"
360361
"lyra2v2" = "Lyra2re2"

Pools/ZergPool.ps1

+2-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ $RequestStatus | Get-Member -MemberType NoteProperty | Select-Object -ExpandProp
204204
$Profit = $Profit * (1 - [decimal]$Algo.fees / 100) * $Pool_Variety / $Divisor
205205
$ProfitFast = $Profit
206206
if ($Profit -gt 0) {
207-
$Profit = Set-Stat -Filename $PoolInfo.Name -Key $Pool_Algorithm -Value $Profit -Interval $Cfg.AverageProfit
207+
# Key - real zergalgo name - to work with other Karlsen: karlsenhahNXL
208+
$Profit = Set-Stat -Filename $PoolInfo.Name -Key $Algo.name -Value $Profit -Interval $Cfg.AverageProfit
208209
}
209210

210211
if ([int]$Algo.workers_shared -ge $Config.MinimumMiners -or $global:HasConfirm) {

0 commit comments

Comments
 (0)