Forager reporting wrong hashrate for ethash for lolminer
alucard20724 opened this issue · 3 comments
alucard20724 commented
Forager is reporting wrong hash rate for ethash lolminer.
adjustment for lolminer API appears to have no effect.
example.. lolminer is reporting 50Mhash for 5700 however, forager reports 50 hash. multiplier in LOL api has no affect.
alucard20724 commented
if anyone has a fix for this, please share.
thanks.
alucard20724 commented
this is the multiplier that i added in LOL api.. it doesn't work.
"LOL" {
$Request = Invoke-HTTPRequest -Port $Miner.ApiPort -Path "/summary"
if ($Request) {
$Data = $Request | ConvertFrom-Json
$HashRate = [double]$Data.Session.Performance_Summary
if ($Data.algo -eq 'ETHASH') {
$HashRate = [double]$Data.Session.Performance_Summary * 1e6
}
$Shares = @(
[int64]$Data.Session.Accepted
[int64]$Data.Session.Submitted - [int64]$Data.Session.Accepted
)
}
}
if anyone has a fix, it would be greatly appreciated... the problem is the same for etchash and autolykos algo.
alucard20724 commented
I do have a workaround. i created a second api for LOL.
"LOLETH" {
$Request = Invoke-HTTPRequest -Port $Miner.ApiPort -Path "/summary"
if ($Request) {
$Data = $Request | ConvertFrom-Json
$HashRate = [double]$Data.Session.Performance_Summary * 1e6
$Shares = @(
[int64]$Data.Session.Accepted
[int64]$Data.Session.Submitted - [int64]$Data.Session.Accepted
)
}
}
workaround for ethash, etchash, and ergo