Skip to content

Commit

Permalink
v4.3.6.2
Browse files Browse the repository at this point in the history
  • Loading branch information
UselessGuru committed Aug 25, 2023
1 parent adcc23e commit 83ae6ad
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion ChangeLog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Fixes:
- 'ZergPool' brain not updating algorithm & coin name database

Miner changes:
- BzMiner-v16.0.1
- BzMiner-v16.0.2
- Rigel-v1.7.1
- SRBMinerMulti-v2.3.5
- TeamBlackMiner-v1.96
Expand Down
10 changes: 5 additions & 5 deletions Includes/Core.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ Do {
$Variables.MinersBest_Combo | ForEach-Object { $_.Best = $true }
If ($Variables.Rates."BTC") {
If ($Variables.MinersNeedingBenchmark.Count) {
$Variables.Summary = "Earning / day: n/a (Benchmarking: $(($Variables.MinersNeedingBenchmark | Select-Object -Property Name -Unique).Count) $(If (($Variables.MinersNeedingBenchmark | Select-Object -Property Name -Unique).Count -eq 1) { "miner" } Else { "miners" }) left$(If (($Variables.EnabledDevices | Sort-Object -Property { $_.DeviceNames -join ', ' }).Count -gt 1) { " [$((($Variables.MinersNeedingBenchmark | Sort-Object -Property Name -Unique) | Group-Object -Property { $_.DeviceNames -join ',' } | Sort-Object -Property Name | ForEach-Object { "$($_.Name): $($_.Count)" }) -join ', ')]"}))"
$Variables.Summary = "Earning / day: n/a (Benchmarking: $(($Variables.MinersNeedingBenchmark | Select-Object -Property Algorithms, Name -Unique).Count) $(If (($Variables.MinersNeedingBenchmark | Select-Object -Property Algorithms, Name -Unique).Count -eq 1) { "miner" } Else { "miners" }) left$(If (($Variables.EnabledDevices | Sort-Object -Property { $_.DeviceNames -join ', ' }).Count -gt 1) { " [$((($Variables.MinersNeedingBenchmark | Sort-Object -Property Algorithms, Name -Unique) | Group-Object -Property { $_.DeviceNames -join ',' } | Sort-Object -Property Name | ForEach-Object { "$($_.Name): $($_.Count)" }) -join ', ')]"}))"
}
ElseIf ($Variables.MiningEarning -gt 0) {
$Variables.Summary = "Earning / day: {0:n} {1}" -f ($Variables.MiningEarning * $Variables.Rates."BTC".($Config.Currency)), $Config.Currency
Expand All @@ -904,7 +904,7 @@ Do {
If ($Variables.Summary -ne "") { $Variables.Summary += "   " }

If ($Variables.MinersNeedingPowerUsageMeasurement.Count -or [Double]::IsNaN($Variables.MiningPowerCost)) {
$Variables.Summary += "Profit / day: n/a (Measuring power usage: $(($Variables.MinersNeedingPowerUsageMeasurement | Select-Object -Property Name -Unique).Count) $(If (($Variables.MinersNeedingPowerUsageMeasurement | Select-Object -Property Name -Unique).Count -eq 1) { "miner" } Else { "miners" }) left$(If (($Variables.EnabledDevices | Sort-Object -Property { $_.DeviceNames -join ',' }).Count -gt 1) { " [$((($Variables.MinersNeedingPowerUsageMeasurement | Sort-Object -Property Name -Unique) | Group-Object -Property { $_.DeviceNames -join ',' } | Sort-Object -Property Name | ForEach-Object { "$($_.Name): $($_.Count)" }) -join ', ')]"}))"
$Variables.Summary += "Profit / day: n/a (Measuring power usage: $(($Variables.MinersNeedingPowerUsageMeasurement | Select-Object -Property Algorithms, Name -Unique).Count) $(If (($Variables.MinersNeedingPowerUsageMeasurement | Select-Object -Property Algorithms, Name -Unique).Count -eq 1) { "miner" } Else { "miners" }) left$(If (($Variables.EnabledDevices | Sort-Object -Property { $_.DeviceNames -join ',' }).Count -gt 1) { " [$((($Variables.MinersNeedingPowerUsageMeasurement | Sort-Object -Property Algorithms, Name -Unique) | Group-Object -Property { $_.DeviceNames -join ',' } | Sort-Object -Property Name | ForEach-Object { "$($_.Name): $($_.Count)" }) -join ', ')]"}))"
}
ElseIf ($Variables.MinersNeedingBenchmark.Count) {
$Variables.Summary += "Profit / day: n/a"
Expand Down Expand Up @@ -992,7 +992,7 @@ Do {
}
}
}
Remove-Variable Miner -ErrorAction Ignore
Remove-Variable Miner, MinerFileName -ErrorAction Ignore

# Kill stuck miners on subsequent cycles when not in dry run mode
If ($Variables.CycleStarts.Count -eq 1 -or -not $Config.DryRun) {
Expand Down Expand Up @@ -1188,11 +1188,11 @@ Do {

# Display benchmarking progress
If ($MinersDeviceGroupNeedingBenchmark) {
Write-Message -Level Verbose "Benchmarking for '$(($MinersDeviceGroupNeedingBenchmark.DeviceNames | Sort-Object -Unique) -join ', ')' in progress: $($MinersDeviceGroupNeedingBenchmark.Count) miner$(If ($MinersDeviceGroupNeedingBenchmark.Count -gt 1) { 's' }) left to complete benchmark."
Write-Message -Level Verbose "Benchmarking for '$(($MinersDeviceGroupNeedingBenchmark.DeviceNames | Sort-Object -Unique) -join ', ')' in progress: $(($MinersDeviceGroupNeedingBenchmark | Select-Object -Property Algorithms, Name -Unique).Count) miner$(If (($MinersDeviceGroupNeedingBenchmark | Select-Object -Property Algorithms, Name -Unique).Count -gt 1) { 's' }) left to complete benchmark."
}
# Display power usage measurement progress
If ($MinersDeviceGroupNeedingPowerUsageMeasurement) {
Write-Message -Level Verbose "Power usage measurement for '$(($MinersDeviceGroupNeedingPowerUsageMeasurement.DeviceNames | Sort-Object -Unique) -join ', ')' in progress: $($MinersDeviceGroupNeedingPowerUsageMeasurement.Count) miner$(If ($MinersDeviceGroupNeedingPowerUsageMeasurement.Count -gt 1) { 's' }) left to complete measuring."
Write-Message -Level Verbose "Power usage measurement for '$(($MinersDeviceGroupNeedingPowerUsageMeasurement.DeviceNames | Sort-Object -Unique) -join ', ')' in progress: $(($MinersDeviceGroupNeedingPowerUsageMeasurement | Select-Object -Property Algorithms, Name -Unique).Count) miner$(If (($MinersDeviceGroupNeedingPowerUsageMeasurement | Select-Object -Property Algorithms, Name -Unique).Count -gt 1) { 's' }) left to complete measuring."
}
}

Expand Down
2 changes: 1 addition & 1 deletion Miners/BzMiner-v16.0.1.ps1 → Miners/BzMiner-v16.0.2.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Version date: 2023/08/25

If (-not ($Devices = $Variables.EnabledDevices | Where-Object { $_.Type -in @("AMD", "INTEL") -or ($_.OpenCL.ComputeCapability -ge "5.0" -and $_.OpenCL.DriverVersion -ge "460.27.03" ) })) { Return }

$URI = "https://github.com/bzminer/bzminer/releases/download/v16.0.1/bzminer_v16.0.1_windows.zip"
$URI = "https://github.com/bzminer/bzminer/releases/download/v16.0.2/bzminer_v16.0.2_windows.zip"
$Name = (Get-Item $MyInvocation.MyCommand.Path).BaseName
$Path = ".\Bin\$($Name)\bzminer.exe"
$DeviceEnumerator = "Bus"
Expand Down

0 comments on commit 83ae6ad

Please sign in to comment.