Skip to content

Commit

Permalink
v6.2.20
Browse files Browse the repository at this point in the history
Changes:
- Rename algorithm 'FiroPowSCC' to 'SCCpow' (https://github.com/stakecube/StakeCubeCoin/blob/develop/README.md)

Enhancements:
- API: Added urls for '/miners/missingbinary', '/miners/missingfirewallrule' & '/miners/missingpprerequisite'
- Core: Mark miner as 'unavailable' when firewall rule is missing
- Core: Minor code optimizations

Miner updates:
- SCCminer-v1.1.0 (new)
- XLAarig-v5.2.4 (new)
  • Loading branch information
UselessGuru committed Jul 28, 2024
1 parent 2251f44 commit 9afa0bc
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 155 deletions.
10 changes: 5 additions & 5 deletions Includes/Core.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<#
Product: UG-Miner
File: Core.ps1
Version: 6.2.20
Version: 6.2.21
Version date: 2024/07/28
#>

Expand Down Expand Up @@ -1498,18 +1498,18 @@ Do {
$_.InvocationInfo | Format-List -Force >> $ErrorLogFile
}

# Wait until 1 second since loop start has passed
While ([DateTime]::Now -lt $LoopEnd) { Start-Sleep -Milliseconds 50 }

# Core suspended with <Ctrl><Alt>P in MainLoop
While ($Variables.SuspendCycle) { Start-Sleep -Seconds 1 }

# Wait until 1 second since loop start has passed
While ([DateTime]::Now -lt $LoopEnd) { Start-Sleep -Milliseconds 50 }

# Exit loop when
# - a miner crashed
# - a benchmarking miner has collected enough samples
# - WarmupTimes[0] is reached and no readout from miner
# - when not benchmnarking: Interval time is over
} While (-not $Config.DryRun -and $Variables.NewMiningStatus -eq "Running" -and -not $Variables.EndCycleMessage -and ([DateTime]::Now.ToUniversalTime() -le $Variables.EndCycleTime -or $Variables.BenchmarkingOrMeasuringMiners))
} While ($Variables.NewMiningStatus -eq "Running" -and -not $Variables.EndCycleMessage -and ((-not $Config.DryRun -and [DateTime]::Now.ToUniversalTime() -le $Variables.EndCycleTime) -or $Variables.BenchmarkingOrMeasuringMiners))
Remove-Variable LoopEnd

# Expire brains loop to collect data
Expand Down
150 changes: 0 additions & 150 deletions Miners/TTMiner-v2024.3.3b5.ps1

This file was deleted.

0 comments on commit 9afa0bc

Please sign in to comment.