Skip to content

Commit

Permalink
v6.2.29
Browse files Browse the repository at this point in the history
Changes:
- Core: Declutter log messages (move level to start of line)
- Pool 'ZergPool': Remove *Coins* variants

Enhancements:
- Split error logs, one log per day
- Core: Rework core restart process. An error in 'Core.ps1' will trigger a complete core runspace restart.

Fixes:
- Core: Fix typo
- Core: Trying to measure power consumption even when HWiNFO64 sensor naming is invalid
- Miner 'SRBMinerMulti-v0.9.4' creating invalid miner objects
- Web GUI: Earnings currency 'Unknown' (Regression from 6.2.26)
  • Loading branch information
UselessGuru committed Aug 29, 2024
1 parent d0de4af commit 989ef8d
Show file tree
Hide file tree
Showing 108 changed files with 370 additions and 512 deletions.
2 changes: 1 addition & 1 deletion Balances/HashCryptos.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: \Balances\HashCryptos.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

$Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName
Expand Down
2 changes: 1 addition & 1 deletion Balances/HiveON.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: \Balances\Hiveon.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

$Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName
Expand Down
2 changes: 1 addition & 1 deletion Balances/MiningDutch.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: \Balances\MiningDutch.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

$Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName
Expand Down
2 changes: 1 addition & 1 deletion Balances/MiningPoolHub.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: \Balances\MiningPoolHub.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

$Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName
Expand Down
2 changes: 1 addition & 1 deletion Balances/NiceHash External.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: \Balances\NiceHash Internal.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

$Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName
Expand Down
2 changes: 1 addition & 1 deletion Balances/NiceHash Internal.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: \Balances\NiceHash Internal.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

$Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName
Expand Down
2 changes: 1 addition & 1 deletion Balances/ProHashing.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: \Balances\ProHashing.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

$Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName
Expand Down
2 changes: 1 addition & 1 deletion Balances/ZergPool.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: \Balances\ZergPool.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

$Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName
Expand Down
2 changes: 1 addition & 1 deletion Balances/Zpool.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: \Balances\Zpool.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

$Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName
Expand Down
8 changes: 4 additions & 4 deletions Brains/HashCryptos.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
Product: UG-Miner
File: \Brains\MiningDutch.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

using module ..\Includes\Include.psm1
Expand Down Expand Up @@ -138,9 +138,9 @@ While ($PoolConfig = $Config.PoolsConfig.$BrainName) {
}
Catch {
Write-Message -Level Error "Error in file '$(($_.InvocationInfo.ScriptName -split "\\" | Select-Object -Last 2) -join "\")' line $($_.InvocationInfo.ScriptLineNumber) detected. Restarting core..."
"$(Get-Date -Format "yyyy-MM-dd_HH:mm:ss")" >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
$_.Exception | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
$_.InvocationInfo | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
"$(Get-Date -Format "yyyy-MM-dd_HH:mm:ss")" >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
$_.Exception | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
$_.InvocationInfo | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
}
Remove-Variable CurrenciesData -ErrorAction Ignore

Expand Down
8 changes: 4 additions & 4 deletions Brains/MiningDutch.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
Product: UG-Miner
File: \Brains\MiningDutch.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

using module ..\Includes\Include.psm1
Expand Down Expand Up @@ -140,9 +140,9 @@ While ($PoolConfig = $Config.PoolsConfig.$BrainName) {
}
Catch {
Write-Message -Level Error "Error in file '$(($_.InvocationInfo.ScriptName -split "\\" | Select-Object -Last 2) -join "\")' line $($_.InvocationInfo.ScriptLineNumber) detected. Restarting core..."
"$(Get-Date -Format "yyyy-MM-dd_HH:mm:ss")" >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
$_.Exception | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
$_.InvocationInfo | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
"$(Get-Date -Format "yyyy-MM-dd_HH:mm:ss")" >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
$_.Exception | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
$_.InvocationInfo | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
}
Remove-Variable CurrenciesData -ErrorAction Ignore

Expand Down
8 changes: 4 additions & 4 deletions Brains/ProHashing.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
Product: UG-Miner
File: \Brains\ProHashing.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

using module ..\Includes\Include.psm1
Expand Down Expand Up @@ -148,9 +148,9 @@ While ($PoolConfig = $Config.PoolsConfig.$BrainName) {
}
Catch {
Write-Message -Level Error "Error in file 'Brains\$BrainName.ps1' line $($_.InvocationInfo.ScriptLineNumber) detected. Restarting brain..."
"$(Get-Date -Format "yyyy-MM-dd_HH:mm:ss")" >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
$_.Exception | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
$_.InvocationInfo | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
"$(Get-Date -Format "yyyy-MM-dd_HH:mm:ss")" >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
$_.Exception | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
$_.InvocationInfo | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
}
Remove-Variable AlgoData, CurrenciesData -ErrorAction Ignore

Expand Down
8 changes: 4 additions & 4 deletions Brains/ZPool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
Product: UG-Miner
File: \Brains\ZPool.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

using module ..\Includes\Include.psm1
Expand Down Expand Up @@ -202,9 +202,9 @@ While ($PoolConfig = $Config.PoolsConfig.$BrainName) {
}
Catch {
Write-Message -Level Error "Error in file 'Brains\$BrainName.ps1' line $($_.InvocationInfo.ScriptLineNumber) detected. Restarting brain..."
"$(Get-Date -Format "yyyy-MM-dd_HH:mm:ss")" >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
$_.Exception | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
$_.InvocationInfo | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
"$(Get-Date -Format "yyyy-MM-dd_HH:mm:ss")" >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
$_.Exception | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
$_.InvocationInfo | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
}
Remove-Variable AlgoData, CurrenciesData -ErrorAction Ignore

Expand Down
8 changes: 4 additions & 4 deletions Brains/ZergPool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
Product: UG-Miner
File: \Brains\ZergPool.ps1
Version: 6.2.29
Version date: 2024/08/28
Version date: 2024/08/29
#>

using module ..\Includes\Include.psm1
Expand Down Expand Up @@ -175,9 +175,9 @@ While ($PoolConfig = $Config.PoolsConfig.$BrainName) {
}
Catch {
Write-Message -Level Error "Error in file '$(($_.InvocationInfo.ScriptName -split "\\" | Select-Object -Last 2) -join "\")' line $($_.InvocationInfo.ScriptLineNumber) detected. Restarting core..."
"$(Get-Date -Format "yyyy-MM-dd_HH:mm:ss")" >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
$_.Exception | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
$_.InvocationInfo | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd_HH-mm-ss").txt"
"$(Get-Date -Format "yyyy-MM-dd_HH:mm:ss")" >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
$_.Exception | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
$_.InvocationInfo | Format-List -Force >> "Logs\Brain_$($BrainName)_Error_$(Get-Date -Format "yyyy-MM-dd").txt"
}
Remove-Variable APIdata -ErrorAction Ignore

Expand Down
4 changes: 3 additions & 1 deletion Changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,16 @@ Known issues:
-> It is recommended to set it to 'Windows Console Host'
- Idle detection has a big memory leak on each core stop (still investigating)

Changelog UG-Miner 6.2.29 2024/08/28

Changelog UG-Miner 6.2.29 2024/08/29
====================================

Changes:
- Core: Declutter log messages (move level to start of line)
- Pool 'ZergPool': Remove *Coins* variants

Enhancements:
- Split error logs, one log per day
- Core: Rework core restart process. An error in 'Core.ps1' will trigger a complete core runspace restart.

Fixes:
Expand Down
Loading

0 comments on commit 989ef8d

Please sign in to comment.