Skip to content

Commit

Permalink
neg rej fix
Browse files Browse the repository at this point in the history
  • Loading branch information
MaynardMiner committed Oct 23, 2018
1 parent 07a0e84 commit 33b2b49
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
12 changes: 6 additions & 6 deletions build/powershell/background.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -482,8 +482,8 @@ if($Platforms -eq "windows" -and $HiveId -ne $null)
$ACC += $($Shares -Split "/" | Select -First 1)
$MinerACC += $($Shares -Split "/" | Select -First 1)
$GetRejected = $($Shares -Split "/" | Select -Last 1)
$REJ += ($Accepted-$GetRejected)
$MinerREJ += ($Accepted-$GetRejected)
$REJ += ($GetRejected-$MinerACC)
$MinerREJ += ($GetRejected-$MinerACC)
$UPTIME = [math]::Round(((Get-Date)-$StartTime).TotalSeconds)
$MinerFans = Get-AMDFans
$MinerTemps = Get-AMDTemps
Expand All @@ -505,9 +505,9 @@ if($Platforms -eq "windows" -and $HiveId -ne $null)
$MinerACC = 0
$MinerREJ = 0
$MinerACC += $Reader.results.shares_good
$MinerREJ += [Double]$Reader.results.shares_good - $Reader.results.shares_total
$MinerREJ += - $Reader.results.shares_total - [Double]$Reader.results.shares_good
$ACC += $Reader.results.shares_good
$REJ += [Double]$Reader.results.shares_good - $Reader.results.shares_total
$REJ += - $Reader.results.shares_total - [Double]$Reader.results.shares_good
$UPTIME = $Reader.connection.uptime
$ALGO = $MinerAlgo
$KHS = [Double]$Reader.hashrate.total[0]
Expand All @@ -531,9 +531,9 @@ if($Platforms -eq "windows" -and $HiveId -ne $null)
$MinerACC = 0
$MinerREJ = 0
$MinerACC += $Reader.results.shares_good
$MinerREJ += [Double]$Reader.results.shares_good - $Reader.results.shares_total
$MinerREJ += - $Reader.results.shares_total - [Double]$Reader.results.shares_good
$ACC += $Reader.results.shares_good
$REJ += [Double]$Reader.results.shares_good - $Reader.results.shares_total
$REJ += - $Reader.results.shares_total - [Double]$Reader.results.shares_good
$UPTIME = $Reader.connection.uptime
$ALGO = $MinerAlgo
$KHS = [Double]$Reader.hashrate.total[0]/1000
Expand Down
8 changes: 7 additions & 1 deletion help files/Change.log
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ but API is awaiting stats.

-cryptonightv8
-xmr-stak updated
-no negative rejections

-repaired download links
-fixed broken merges
Expand All @@ -642,6 +643,7 @@ but API is awaiting stats.
-upgraded
-prioritized api to get RAW for SWARM first
-less chance of 0.00 hashrates for benchmark.
-no negative rejections

-SGminer
-api changed
Expand Down Expand Up @@ -672,4 +674,8 @@ but API is awaiting stats.

-fixed windows version
-some better stat work
-ensured paths are correct
-ensured paths are correct

-updated wiki
-added strike system
-added windows version details

0 comments on commit 33b2b49

Please sign in to comment.