Open alucard20724 opened 3 years ago
if anyone has a fix for this, please share. thanks.
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.
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
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.