diff --git a/Balances/HashCryptos.ps1 b/Balances/HashCryptos.ps1 index f1def8fa3f..c034faac9f 100644 --- a/Balances/HashCryptos.ps1 +++ b/Balances/HashCryptos.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: Zpool.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Balances/HiveON.ps1 b/Balances/HiveON.ps1 index dca309ac45..f7c8700281 100644 --- a/Balances/HiveON.ps1 +++ b/Balances/HiveON.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: Hiveon.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Balances/MiningDutch.ps1 b/Balances/MiningDutch.ps1 index 3fced85230..d246fe836f 100644 --- a/Balances/MiningDutch.ps1 +++ b/Balances/MiningDutch.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: MiningDutch.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Balances/MiningPoolHub.ps1 b/Balances/MiningPoolHub.ps1 index 90f8f34c2d..6cc3e0a14d 100644 --- a/Balances/MiningPoolHub.ps1 +++ b/Balances/MiningPoolHub.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: MiningPoolHub.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Balances/NiceHash External.ps1 b/Balances/NiceHash External.ps1 index 458cf94ed9..557cecaeeb 100644 --- a/Balances/NiceHash External.ps1 +++ b/Balances/NiceHash External.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: NiceHash Internal.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Balances/NiceHash Internal.ps1 b/Balances/NiceHash Internal.ps1 index 72f00a55b4..9024310447 100644 --- a/Balances/NiceHash Internal.ps1 +++ b/Balances/NiceHash Internal.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: NiceHash Internal.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Balances/ProHashing.ps1 b/Balances/ProHashing.ps1 index 470bbbfb76..a955f40c14 100644 --- a/Balances/ProHashing.ps1 +++ b/Balances/ProHashing.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: ProHashing.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Balances/ZergPool.ps1 b/Balances/ZergPool.ps1 index 6d5a00c802..ebf5a8ee59 100644 --- a/Balances/ZergPool.ps1 +++ b/Balances/ZergPool.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: ZergPool.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Balances/Zpool.ps1 b/Balances/Zpool.ps1 index d5ef72c33c..7f49fc14f3 100644 --- a/Balances/Zpool.ps1 +++ b/Balances/Zpool.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: Zpool.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Brains/HashCryptos.ps1 b/Brains/HashCryptos.ps1 index d1e5ae4773..0179a0e1e6 100644 --- a/Brains/HashCryptos.ps1 +++ b/Brains/HashCryptos.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: MiningDutch.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Brains/MiningDutch.ps1 b/Brains/MiningDutch.ps1 index cb841ce267..78d47f434e 100644 --- a/Brains/MiningDutch.ps1 +++ b/Brains/MiningDutch.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: MiningDutch.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Brains/ProHashing.ps1 b/Brains/ProHashing.ps1 index ac42175372..1f16579f5b 100644 --- a/Brains/ProHashing.ps1 +++ b/Brains/ProHashing.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: ProHashing.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Brains/ZPool.ps1 b/Brains/ZPool.ps1 index 36df4b92d8..0c78d82888 100644 --- a/Brains/ZPool.ps1 +++ b/Brains/ZPool.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: ZPool.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Brains/ZergPool.ps1 b/Brains/ZergPool.ps1 index 5b3eae93ca..fd8bcb2c97 100644 --- a/Brains/ZergPool.ps1 +++ b/Brains/ZergPool.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: ZergPool.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/ChangeLog.txt b/ChangeLog.txt index 956c180050..c966a13c0d 100644 --- a/ChangeLog.txt +++ b/ChangeLog.txt @@ -10,6 +10,22 @@ Known issues: - Balance Tracker / Earnings Graph: Date change take does not respect local time zone (accumulated data is calculated in GMT time) - Increasing memory consumption over time (PWSH will eat up memory despite aggressive variable cleaning & garbage collection) +ChangeLog NemosMiner 4.3.3.2 nn.04.2023 +======================================= + +Enhancements: +- Legacy GUI: Add more tooltips +- Legacy GUI: Optimize SwitchingLog table titles and colums widths + +Fixes: +- Core: CPU detected as INTEL device if $MinerInstancePerDeviceModel -eq $false (Regression from 4.3.3.0) +- Legacy GUI: Fix window size save/restore and element arrangement +- Legacy GUI: Pools Table 'BTC/GH/Day (Biased)' value was 1024^3 to small + +Miner updates: +- Rigel-v1.3.11 + + ChangeLog NemosMiner 4.3.3.1 02.04.2023 ======================================= @@ -20,7 +36,7 @@ Changes: Enhancements: - BalancesTracker: Keep Earnings data for 365 days - Core: Minor performance optimizations -- Legacy GUI: Improve table scrolling speed when '$UseColorForMinerStatus' -eq $true +- Legacy GUI: Improve table scrolling speed when $UseColorForMinerStatus -eq $true Fixes: - Core: Not updating miner names when $MinerInstancePerDeviceModel changing from $false diff --git a/Data/DagData.json b/Data/DagData.json index b9691cbec6..9f415d7f9c 100644 --- a/Data/DagData.json +++ b/Data/DagData.json @@ -1,35 +1,35 @@ { "Algorithm": { "Autolykos2": { - "BlockHeight": 973818, + "BlockHeight": 975226, "DAGsize": 3073644420, - "Epoch": 545 + "Epoch": 547 }, "EtcHash": { - "BlockHeight": 17249555, + "BlockHeight": 17267779, "DAGsize": 3498048896, "Epoch": 289 }, "Ethash": { - "BlockHeight": 16832988, + "BlockHeight": 16845700, "DAGsize": 5796527488, "Epoch": 563 }, "EthashLowMem": { - "BlockHeight": 7553074, + "BlockHeight": 7560956, "CoinName": "Expanse", - "DAGsize": 3196056704, - "Epoch": 253 + "DAGsize": 3204445568, + "Epoch": 254 }, "EvrProgPow": { - "BlockHeight": 220125, + "BlockHeight": 224126, "DAGsize": 3388997504, "Epoch": 20 }, "FiroPow": { - "BlockHeight": 652873, - "DAGsize": 5301598592, - "Epoch": 504 + "BlockHeight": 654409, + "DAGsize": 5309986688, + "Epoch": 505 }, "FiroPowSSC": { "BlockHeight": 0, @@ -37,41 +37,41 @@ "Epoch": 0 }, "KawPow": { - "BlockHeight": 2738223, + "BlockHeight": 2741090, "DAGsize": 4152360832, "Epoch": 367 }, "Octopus": { - "BlockHeight": 68554949, - "DAGsize": 6509556992, - "Epoch": 132 + "BlockHeight": 68683047, + "DAGsize": 6526331648, + "Epoch": 133 }, "ProgPowSero": { - "BlockHeight": 9908981, + "BlockHeight": 9922167, "DAGsize": 3858755968, "Epoch": 332 }, "ProgPowZano": { - "BlockHeight": 2045783, + "BlockHeight": 2049782, "DAGsize": 1660943488, "Epoch": 70 }, "UbqHash": { - "BlockHeight": 3572546, + "BlockHeight": 3584371, "DAGsize": 2088762752, "Epoch": 121 } }, "Currency": { "*": { - "BlockHeight": 68554949, + "BlockHeight": 68683047, "CoinName": "*", - "DAGsize": 6509556992, + "DAGsize": 6526331648, "Epoch": 563 }, "AKA": { "Algorithm": "Ethash", - "BlockHeight": 9166404, + "BlockHeight": 9179496, "CoinName": "Akroma", "DAGsize": 3649043584, "Epoch": 307 @@ -106,101 +106,101 @@ }, "CFX": { "Algorithm": "Octopus", - "BlockHeight": 68554949, + "BlockHeight": 68683047, "CoinName": "Conflux", - "DAGsize": 6509556992, - "Epoch": 132 + "DAGsize": 6526331648, + "Epoch": 133 }, "CLO": { "Algorithm": "Ethash", - "BlockHeight": 12049038, + "BlockHeight": 12062568, "CoinName": "Callisto", - "DAGsize": 4454344064, - "Epoch": 403 + "DAGsize": 4462738048, + "Epoch": 404 }, "CLORE": { "Algorithm": "KawPow", - "BlockHeight": 163052, + "BlockHeight": 165948, "CoinName": "Clore", "DAGsize": 1132461952, "Epoch": 7 }, "EGEM": { "Algorithm": "Ethash", - "BlockHeight": 12709966, + "BlockHeight": 12724168, "CoinName": "EtherGem", - "DAGsize": 4638898816, - "Epoch": 425 + "DAGsize": 4647287936, + "Epoch": 426 }, "ERG": { "Algorithm": "Autolykos2", - "BlockHeight": 973818, + "BlockHeight": 975226, "CoinName": "Ergo", "DAGsize": 3073644420, - "Epoch": 545 + "Epoch": 547 }, "ESN": { "Algorithm": "Ethash", - "BlockHeight": 6403695, + "BlockHeight": 6403716, "CoinName": "EtherSocial", "DAGsize": 2877286784, "Epoch": 215 }, "ETC": { "Algorithm": "EtcHash", - "BlockHeight": 17249555, + "BlockHeight": 17267779, "CoinName": "Ethereum Classic", "DAGsize": 3498048896, "Epoch": 289 }, "ETHF": { "Algorithm": "Ethash", - "BlockHeight": 16824024, + "BlockHeight": 16837042, "CoinName": "Ethereumfair", - "DAGsize": 5788137856, - "Epoch": 562 + "DAGsize": 5796527488, + "Epoch": 563 }, "ETHO": { "Algorithm": "Ethash", - "BlockHeight": 11354450, + "BlockHeight": 11367730, "CoinName": "Ether1", "DAGsize": 4261412224, "Epoch": 380 }, "ETHW": { "Algorithm": "Ethash", - "BlockHeight": 16832988, + "BlockHeight": 16845700, "CoinName": "EthereumPOW", "DAGsize": 5796527488, "Epoch": 563 }, "ETP": { "Algorithm": "Ethash", - "BlockHeight": 7866065, + "BlockHeight": 7874270, "CoinName": "Metaverse", "DAGsize": 3288332416, "Epoch": 264 }, "EVR": { "Algorithm": "EvrProgPow", - "BlockHeight": 220125, + "BlockHeight": 224126, "CoinName": "Evrmore", "DAGsize": 3388997504, "Epoch": 20 }, "EXP": { "Algorithm": "Ethash", - "BlockHeight": 7553074, + "BlockHeight": 7560956, "CoinName": "Expanse", - "DAGsize": 3196056704, - "Epoch": 253 + "DAGsize": 3204445568, + "Epoch": 254 }, "FIRO": { "Algorithm": "FiroPow", - "BlockHeight": 652873, + "BlockHeight": 654409, "CoinName": "Firo", - "DAGsize": 5301598592, - "Epoch": 504 + "DAGsize": 5309986688, + "Epoch": 505 }, "HVQ": { "Algorithm": "KawPow", @@ -211,10 +211,10 @@ }, "MEWC": { "Algorithm": "KawPow", - "BlockHeight": 298848, + "BlockHeight": 301736, "CoinName": "MeowCoin", - "DAGsize": 1166013824, - "Epoch": 11 + "DAGsize": 1174404736, + "Epoch": 12 }, "MOAC": { "Algorithm": "Ethash", @@ -225,21 +225,21 @@ }, "NEOX": { "Algorithm": "KawPow", - "BlockHeight": 456523, + "BlockHeight": 459359, "CoinName": "Neoxa", "DAGsize": 1216345216, "Epoch": 17 }, "NILU": { "Algorithm": "Ethash", - "BlockHeight": 6216072, + "BlockHeight": 6216192, "CoinName": "Nilu", "DAGsize": 2826959488, "Epoch": 209 }, "NUKO": { "Algorithm": "Ethash", - "BlockHeight": 8438844, + "BlockHeight": 8443969, "CoinName": "Nekonium", "DAGsize": 3447714176, "Epoch": 283 @@ -253,87 +253,87 @@ }, "PAPRY": { "Algorithm": "KawPow", - "BlockHeight": 61886, + "BlockHeight": 64709, "CoinName": "PaprikaCoin", "DAGsize": 1107293056, "Epoch": 4 }, "PGC": { "Algorithm": "Ethash", - "BlockHeight": 5431023, + "BlockHeight": 5436720, "CoinName": "PegasCoin", "DAGsize": 2608856192, "Epoch": 183 }, "PRCO": { "Algorithm": "KawPow", - "BlockHeight": 435157, + "BlockHeight": 439084, "CoinName": "ProcyonCoin", "DAGsize": 1207958912, "Epoch": 16 }, "QKC": { "Algorithm": "Ethash", - "BlockHeight": 12635261, + "BlockHeight": 12653030, "CoinName": "QuarkChain", "DAGsize": 4622119808, "Epoch": 423 }, "REDE": { "Algorithm": "KawPow", - "BlockHeight": 729929, + "BlockHeight": 748845, "CoinName": "RedeCoin", "DAGsize": 1291844992, "Epoch": 26 }, "RVN": { "Algorithm": "KawPow", - "BlockHeight": 2738223, + "BlockHeight": 2741090, "CoinName": "RavenCoin", "DAGsize": 4152360832, "Epoch": 367 }, "SATOX": { "Algorithm": "KawPow", - "BlockHeight": 109566, + "BlockHeight": 115308, "CoinName": "Satox", "DAGsize": 1115684224, "Epoch": 5 }, "SCC": { "Algorithm": "FiroPowSSC", - "BlockHeight": 652873, + "BlockHeight": 654409, "CoinName": "StakeCubeCoin", - "DAGsize": 5301598592, - "Epoch": 504 + "DAGsize": 5309986688, + "Epoch": 505 }, "SERO": { "Algorithm": "ProgPowSero", - "BlockHeight": 9908981, + "BlockHeight": 9922167, "CoinName": "Superzero", "DAGsize": 3858755968, "Epoch": 332 }, "UBQ": { "Algorithm": "UbqHash", - "BlockHeight": 3572546, + "BlockHeight": 3584371, "CoinName": "UBIQ", "DAGsize": 2088762752, "Epoch": 121 }, "ZANO": { "Algorithm": "ProgPowZano", - "BlockHeight": 2045783, + "BlockHeight": 2049782, "CoinName": "Zano", "DAGsize": 1660943488, "Epoch": 70 } }, "Updated": { - "https://evr.cryptoscope.io/api/getblockcount": "2023-04-02T15:55:00.1272149Z", - "https://minerstat.com/dag-size-calculator": "2023-04-02T15:54:54.5621745Z", - "https://prohashing.com/api/v1/currencies": "2023-04-02T15:54:58.4726286Z", - "https://whattomine.com/coins.json": "2023-04-02T15:54:24.8975337Z", - "ZergPool Brain": "2023-04-02T18:22:30.7389512Z" + "https://evr.cryptoscope.io/api/getblockcount": "2023-04-04T15:56:29.057892Z", + "https://minerstat.com/dag-size-calculator": "2023-04-04T15:56:22.7337091Z", + "https://prohashing.com/api/v1/currencies": "2023-04-04T15:56:27.4185864Z", + "https://whattomine.com/coins.json": "2023-04-04T15:55:19.1037228Z", + "ZergPool Brain": "2023-04-05T13:11:46.7545087Z" } } diff --git a/Includes/API.psm1 b/Includes/API.psm1 index db757d9676..dc09aa177f 100644 --- a/Includes/API.psm1 +++ b/Includes/API.psm1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: API.psm1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> Function Start-APIServer { diff --git a/Includes/BalancesTracker.ps1 b/Includes/BalancesTracker.ps1 index b918b7fa6b..171ad0a24a 100644 --- a/Includes/BalancesTracker.ps1 +++ b/Includes/BalancesTracker.ps1 @@ -21,8 +21,8 @@ along with this program. If not, see . <# Product: NemosMiner File: BalancesTracker.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> Do { diff --git a/Includes/Core.ps1 b/Includes/Core.ps1 index e337537cf5..0c66950173 100644 --- a/Includes/Core.ps1 +++ b/Includes/Core.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: Core.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module .\Include.psm1 @@ -88,14 +88,14 @@ Do { If (Compare-Object @($Variables.EnabledDevices.Name | Select-Object) @(($Variables.Devices | Where-Object { $_.State -NE [DeviceState]::Unsupported } | Where-Object Name -NotIn $Config.ExcludeDeviceName).Name | Select-Object)) { $Variables.EnabledDevices = [Device[]]@($Variables.Devices | Where-Object { $_.State -NE [DeviceState]::Unsupported } | Where-Object Name -NotIn $Config.ExcludeDeviceName | ForEach-Object { Copy-Object $_ }) + # For GPUs set type equal to vendor + $Variables.EnabledDevices | Where-Object Type -EQ "GPU" | ForEach-Object { $_.Type = $_.Vendor } } If ($Variables.EnabledDevices) { - # For GPUs set type equal to vendor - $Variables.EnabledDevices | Where-Object Type -EQ "GPU" | ForEach-Object { $_.Type = $_.Vendor } # Remove model information from devices -> will create only one miner instance - If (-not $Config.MinerInstancePerDeviceModel) { $Variables.EnabledDevices | ForEach-Object { $_.Model = $_.Vendor } } - Else { $Variables.EnabledDevices | ForEach-Object { $_.Model = ($Variables.Devices | Where-Object Name -eq $_.Name).Model } } + If ($Config.MinerInstancePerDeviceModel) { $Variables.EnabledDevices | ForEach-Object { $_.Model = ($Variables.Devices | Where-Object Name -eq $_.Name).Model } } + Else { $Variables.EnabledDevices | Where-Object Type -EQ "GPU" | ForEach-Object { $_.Model = $_.Vendor } } If ($Variables.EndCycleTime) { $Variables.BeginCycleTime = $Variables.EndCycleTime @@ -297,9 +297,6 @@ Do { $Variables.PowerPricekWh = [Double]($Config.PowerPricekWh.($Config.PowerPricekWh.Keys | Sort-Object | Where-Object { $_ -le (Get-Date -Format HH:mm).ToString() } | Select-Object -Last 1)) $Variables.PowerCostBTCperW = [Double](1 / 1000 * 24 * $Variables.PowerPricekWh / $Variables.Rates."BTC".($Config.Currency)) - # Send data to monitoring server - If ($Config.ReportToServer) { Write-MonitoringData } - # Ensure we get the hashrate for running miners prior looking for best miner ForEach ($Miner in $Variables.MinersBest_Combo) { If ($Miner.DataReaderJob.HasMoreData) { @@ -338,8 +335,8 @@ Do { $LatestMinerSharesData = ($Miner.Data | Select-Object -Last 1).Shares If ($LatestMinerSharesData.$_ -and $LatestMinerSharesData.$_[1] -gt 0 -and $LatestMinerSharesData.$_[3] -gt [Int](1 / $Config.BadShareRatioThreshold) -and $LatestMinerSharesData.$_[1] / $LatestMinerSharesData.$_[3] -gt $Config.BadShareRatioThreshold) { $Miner.StatusMessage = "Miner '$($Miner.Name) $($Miner.Info)' stopped. Reasons: Too many bad shares (Shares Total = $($LatestMinerSharesData.$_[3]), Rejected = $($LatestMinerSharesData.$_[1]))." - $Miner.Data = @() # Clear data because it may be incorrect caused by miner problem $Miner.SetStatus([MinerStatus]::Failed) + $Miner.Data = @() # Clear data because it may be incorrect caused by miner problem } } } @@ -418,6 +415,9 @@ Do { } Remove-Variable Miner + # Send data to monitoring server + If ($Config.ReportToServer) { Write-MonitoringData } + # Load unprofitable algorithms Try { If (-not $Variables.UnprofitableAlgorithms -or (Get-ChildItem -Path ".\Data\UnprofitableAlgorithms.json").LastWriteTime -gt $Variables.Timer.AddSeconds( - $Config.Interval)) { @@ -1090,7 +1090,6 @@ Do { If ($Miner.Benchmark -or $Miner.MeasurePowerUsage) { $DataCollectInterval = 1 - $Miner.Data = @() $Miner.Earning = [Double]::NaN $Miner.Earning_Bias = [Double]::NaN $Miner.ValidDataSampleTimestamp = [DateTime]0 diff --git a/Includes/DevAPI.ps1 b/Includes/DevAPI.ps1 index adc7299542..1b5f564c5c 100644 --- a/Includes/DevAPI.ps1 +++ b/Includes/DevAPI.ps1 @@ -1,4 +1,4 @@ -$Request = '2022-12-13 22:33:07: http://127.0.0.1:3999/functions/config/set?{"Algorithm"%3A%5B%5D%2C"APILogfile"%3A"Debug%5C%5CAPILog.txt"%2C"APIPort"%3A3999%2C"AutoReboot"%3Atrue%2C"AutoUpdate"%3Atrue%2C"AutoUpdateCheckInterval"%3A1%2C"BackupOnAutoUpdate"%3Atrue%2C"BadShareRatioThreshold"%3A0.05%2C"BalancesKeepAlive"%3Atrue%2C"BalancesShowAverages"%3Afalse%2C"BalancesShowInAllCurrencies"%3Afalse%2C"BalancesShowInMainCurrency"%3Atrue%2C"BalancesShowSums"%3Afalse%2C"BalancesTrackerExcludePool"%3A%5B"_BlockMasters"%5D%2C"BalancesTrackerLog"%3Afalse%2C"BalancesTrackerPollInterval"%3A10%2C"CalculatePowerCost"%3Atrue%2C"ConfigFileVersion"%3A"4.3.3.1"%2C"CPUMinerProcessPriority"%3A-2%2C"Currency"%3A"CHF"%2C"DecimalsMax"%3A6%2C"Delay"%3A0%2C"DisableDualAlgoMining"%3Afalse%2C"DisableMinerFee"%3Afalse%2C"DisableMinersWithFee"%3Afalse%2C"DisableSingleAlgoMining"%3Afalse%2C"Donation"%3A2%2C"EarningsAdjustmentFactor"%3A0.8%2C"ExcludeDeviceName"%3A%5B"CPU%2300"%5D%2C"ExcludeMinerName"%3A%5B%5D%2C"ExtraCurrencies"%3A%5B"ETH"%2C"USD"%2C"EUR"%2C"NZD"%2C"AUD"%2C"THB"%5D%2C"GPUMinerProcessPriority"%3A-1%2C"IdleDetection"%3Afalse%2C"IdleSec"%3A5%2C"IgnoreMinerFee"%3Afalse%2C"IgnorePoolFee"%3Afalse%2C"IgnorePowerCost"%3Atrue%2C"Interval"%3A30%2C"LogBalanceAPIResponse"%3Afalse%2C"LogToFile"%3A%5B"Info"%2C"Warn"%2C"Error"%2C"Verbose"%2C"Debug"%5D%2C"LogToScreen"%3A%5B"Info"%2C"Warn"%2C"Error"%2C"Verbose"%2C"Debug"%5D%2C"MinAccuracy"%3A0.5%2C"MinDataSample"%3A20%2C"MinDataSampleAlgoMultiplier"%3A{"X16r"%3A3}%2C"MinerInstancePerDeviceModel"%3Atrue%2C"MinerSet"%3A2%2C"MinerSwitchingThreshold"%3A2.5%2C"MinerWindowStyle"%3A"minimized"%2C"MinerWindowStyleNormalWhenBenchmarking"%3Atrue%2C"MiningDutchAPIKey"%3A"7c5ea2d2e997f5094a55969d3a855c4169b46d5eee6065d4fa9251e026980714"%2C"MiningDutchUserName"%3A"UselessGuru"%2C"MiningPoolHubAPIKey"%3A"28328accdd4306c631a881bd8130f0d258a94b0e33569e0eef7e83773d018c98"%2C"MiningPoolHubUserName"%3A"UselessGuru"%2C"MinInterval"%3A3%2C"MinWorker"%3A0%2C"MonitoringServer"%3A"https%3A%2F%2Fnemosminer.com"%2C"MonitoringUser"%3A"8e92d491-a5e6-42d7-8928-5be72d743b0c"%2C"NiceHashAPIKey"%3A"0dfa9c5b-12f9-4f62-9152-41d6a517de00"%2C"NiceHashAPISecret"%3A"15a4618a-1f3a-4b96-924a-48845f435d98f4f28ac4-a51b-4de0-bf8d-584929764dd5"%2C"NiceHashOrganizationId"%3A"f48afaf4-fc54-4645-af2d-56334a48aebb"%2C"NiceHashWallet"%3A"33hZYX8iFg5zm9E3geqrNgeP6TMzszZk5R"%2C"NiceHashWalletIsInternal"%3Atrue%2C"OpenFirewallPorts"%3Atrue%2C"PayoutCurrency"%3A"BTC"%2C"PoolAPIAllowedFailureCount"%3A3%2C"PoolAPIRetryInterval"%3A3%2C"PoolAPITimeout"%3A3%2C"PoolName"%3A%5B"Hiveon"%2C"MiningDutchPlus"%2C"MiningPoolHubCoins"%2C"NiceHash"%2C"ProHashingPlus"%2C"ZergPoolCoinsPlus"%2C"ZPoolPlus"%5D%2C"PoolsConfigFile"%3A".%5C%5CConfig%5C%5CPoolsConfig.json"%2C"PoolTimeout"%3A30%2C"PowerPricekWh"%3A{"00%3A00"%3A0.26}%2C"PowerUsage"%3A{"_GPU%2302"%3A35}%2C"PowerUsageIdleSystemW"%3A160%2C"ProfitabilityThreshold"%3A-12.6%2C"ProHashingAPIKey"%3A"8ea6a00dea6945172167708c9784b8deead1da2f5e543ef312bfc7ed1073fe4a"%2C"ProHashingMiningMode"%3A"PPLNS"%2C"ProHashingUserName"%3A"UselessGuru"%2C"Proxy"%3A""%2C"Region"%3A"Europe"%2C"ReportToServer"%3Atrue%2C"ShowAccuracy"%3Atrue%2C"ShowAllMiners"%3Afalse%2C"ShowChangeLog"%3Atrue%2C"ShowCoinName"%3Atrue%2C"ShowCurrency"%3Atrue%2C"ShowEarning"%3Atrue%2C"ShowEarningBias"%3Atrue%2C"ShowMinerFee"%3Atrue%2C"ShowPool"%3Atrue%2C"ShowPoolBalances"%3Afalse%2C"ShowPoolFee"%3Atrue%2C"ShowPowerCost"%3Atrue%2C"ShowPowerUsage"%3Atrue%2C"ShowProfit"%3Atrue%2C"ShowProfitBias"%3Atrue%2C"ShowUser"%3Afalse%2C"ShowWorkerStatus"%3Atrue%2C"LogViewerConfig"%3A".%5C%5CUtils%5C%5CNemosMiner_LogReader.xml"%2C"SnakeTailExe"%3A".%5C%5CUtils%5C%5CSnakeTail.exe"%2C"SSL"%3A"Prefer"%2C"StartGUI"%3Afalse%2C"StartGUIMinimized"%3Afalse%2C"StartupMode"%3A"Running"%2C"SubtractBadShares"%3Atrue%2C"SyncWindow"%3A3%2C"Transcript"%3Afalse%2C"UIStyle"%3A"light"%2C"UnrealMinerEarningFactor"%3A1%2C"UnrealPoolPriceFactor"%3A2%2C"UseAnycast"%3Atrue%2C"UseColorForMinerStatus"%3Atrue%2C"UsemBTC"%3Atrue%2C"UseMinerTweaks"%3Atrue%2C"Wallets"%3A{"BTC"%3A"1GPSq8txFnyrYdXL8t6S94mYdF8cGqVQJF"%2C"ETC"%3A"0x7CF99ec9029A98AFd385f106A93977D8105Fec0f"%2C"ETH"%3A"0x92e6F22C1493289e6AD2768E1F502Fc5b414a287"}%2C"Watchdog"%3Atrue%2C"WatchdogCount"%3A3%2C"WebGUI"%3Atrue%2C"WorkerName"%3A"Blackbox"}' +$Request = '2022-12-13 22:33:07: http://127.0.0.1:3999/functions/config/set?{"Algorithm"%3A%5B%5D%2C"APILogfile"%3A"Debug%5C%5CAPILog.txt"%2C"APIPort"%3A3999%2C"AutoReboot"%3Atrue%2C"AutoUpdate"%3Atrue%2C"AutoUpdateCheckInterval"%3A1%2C"BackupOnAutoUpdate"%3Atrue%2C"BadShareRatioThreshold"%3A0.05%2C"BalancesKeepAlive"%3Atrue%2C"BalancesShowAverages"%3Afalse%2C"BalancesShowInAllCurrencies"%3Afalse%2C"BalancesShowInMainCurrency"%3Atrue%2C"BalancesShowSums"%3Afalse%2C"BalancesTrackerExcludePool"%3A%5B"_BlockMasters"%5D%2C"BalancesTrackerLog"%3Afalse%2C"BalancesTrackerPollInterval"%3A10%2C"CalculatePowerCost"%3Atrue%2C"ConfigFileVersion"%3A"4.3.3.2"%2C"CPUMinerProcessPriority"%3A-2%2C"Currency"%3A"CHF"%2C"DecimalsMax"%3A6%2C"Delay"%3A0%2C"DisableDualAlgoMining"%3Afalse%2C"DisableMinerFee"%3Afalse%2C"DisableMinersWithFee"%3Afalse%2C"DisableSingleAlgoMining"%3Afalse%2C"Donation"%3A2%2C"EarningsAdjustmentFactor"%3A0.8%2C"ExcludeDeviceName"%3A%5B"CPU%2300"%5D%2C"ExcludeMinerName"%3A%5B%5D%2C"ExtraCurrencies"%3A%5B"ETH"%2C"USD"%2C"EUR"%2C"NZD"%2C"AUD"%2C"THB"%5D%2C"GPUMinerProcessPriority"%3A-1%2C"IdleDetection"%3Afalse%2C"IdleSec"%3A5%2C"IgnoreMinerFee"%3Afalse%2C"IgnorePoolFee"%3Afalse%2C"IgnorePowerCost"%3Atrue%2C"Interval"%3A30%2C"LogBalanceAPIResponse"%3Afalse%2C"LogToFile"%3A%5B"Info"%2C"Warn"%2C"Error"%2C"Verbose"%2C"Debug"%5D%2C"LogToScreen"%3A%5B"Info"%2C"Warn"%2C"Error"%2C"Verbose"%2C"Debug"%5D%2C"MinAccuracy"%3A0.5%2C"MinDataSample"%3A20%2C"MinDataSampleAlgoMultiplier"%3A{"X16r"%3A3}%2C"MinerInstancePerDeviceModel"%3Atrue%2C"MinerSet"%3A2%2C"MinerSwitchingThreshold"%3A2.5%2C"MinerWindowStyle"%3A"minimized"%2C"MinerWindowStyleNormalWhenBenchmarking"%3Atrue%2C"MiningDutchAPIKey"%3A"7c5ea2d2e997f5094a55969d3a855c4169b46d5eee6065d4fa9251e026980714"%2C"MiningDutchUserName"%3A"UselessGuru"%2C"MiningPoolHubAPIKey"%3A"28328accdd4306c631a881bd8130f0d258a94b0e33569e0eef7e83773d018c98"%2C"MiningPoolHubUserName"%3A"UselessGuru"%2C"MinInterval"%3A3%2C"MinWorker"%3A0%2C"MonitoringServer"%3A"https%3A%2F%2Fnemosminer.com"%2C"MonitoringUser"%3A"8e92d491-a5e6-42d7-8928-5be72d743b0c"%2C"NiceHashAPIKey"%3A"0dfa9c5b-12f9-4f62-9152-41d6a517de00"%2C"NiceHashAPISecret"%3A"15a4618a-1f3a-4b96-924a-48845f435d98f4f28ac4-a51b-4de0-bf8d-584929764dd5"%2C"NiceHashOrganizationId"%3A"f48afaf4-fc54-4645-af2d-56334a48aebb"%2C"NiceHashWallet"%3A"33hZYX8iFg5zm9E3geqrNgeP6TMzszZk5R"%2C"NiceHashWalletIsInternal"%3Atrue%2C"OpenFirewallPorts"%3Atrue%2C"PayoutCurrency"%3A"BTC"%2C"PoolAPIAllowedFailureCount"%3A3%2C"PoolAPIRetryInterval"%3A3%2C"PoolAPITimeout"%3A3%2C"PoolName"%3A%5B"Hiveon"%2C"MiningDutchPlus"%2C"MiningPoolHubCoins"%2C"NiceHash"%2C"ProHashingPlus"%2C"ZergPoolCoinsPlus"%2C"ZPoolPlus"%5D%2C"PoolsConfigFile"%3A".%5C%5CConfig%5C%5CPoolsConfig.json"%2C"PoolTimeout"%3A30%2C"PowerPricekWh"%3A{"00%3A00"%3A0.26}%2C"PowerUsage"%3A{"_GPU%2302"%3A35}%2C"PowerUsageIdleSystemW"%3A160%2C"ProfitabilityThreshold"%3A-12.6%2C"ProHashingAPIKey"%3A"8ea6a00dea6945172167708c9784b8deead1da2f5e543ef312bfc7ed1073fe4a"%2C"ProHashingMiningMode"%3A"PPLNS"%2C"ProHashingUserName"%3A"UselessGuru"%2C"Proxy"%3A""%2C"Region"%3A"Europe"%2C"ReportToServer"%3Atrue%2C"ShowAccuracy"%3Atrue%2C"ShowAllMiners"%3Afalse%2C"ShowChangeLog"%3Atrue%2C"ShowCoinName"%3Atrue%2C"ShowCurrency"%3Atrue%2C"ShowEarning"%3Atrue%2C"ShowEarningBias"%3Atrue%2C"ShowMinerFee"%3Atrue%2C"ShowPool"%3Atrue%2C"ShowPoolBalances"%3Afalse%2C"ShowPoolFee"%3Atrue%2C"ShowPowerCost"%3Atrue%2C"ShowPowerUsage"%3Atrue%2C"ShowProfit"%3Atrue%2C"ShowProfitBias"%3Atrue%2C"ShowUser"%3Afalse%2C"ShowWorkerStatus"%3Atrue%2C"LogViewerConfig"%3A".%5C%5CUtils%5C%5CNemosMiner_LogReader.xml"%2C"SnakeTailExe"%3A".%5C%5CUtils%5C%5CSnakeTail.exe"%2C"SSL"%3A"Prefer"%2C"StartGUI"%3Afalse%2C"StartGUIMinimized"%3Afalse%2C"StartupMode"%3A"Running"%2C"SubtractBadShares"%3Atrue%2C"SyncWindow"%3A3%2C"Transcript"%3Afalse%2C"UIStyle"%3A"light"%2C"UnrealMinerEarningFactor"%3A1%2C"UnrealPoolPriceFactor"%3A2%2C"UseAnycast"%3Atrue%2C"UseColorForMinerStatus"%3Atrue%2C"UsemBTC"%3Atrue%2C"UseMinerTweaks"%3Atrue%2C"Wallets"%3A{"BTC"%3A"1GPSq8txFnyrYdXL8t6S94mYdF8cGqVQJF"%2C"ETC"%3A"0x7CF99ec9029A98AFd385f106A93977D8105Fec0f"%2C"ETH"%3A"0x92e6F22C1493289e6AD2768E1F502Fc5b414a287"}%2C"Watchdog"%3Atrue%2C"WatchdogCount"%3A3%2C"WebGUI"%3Atrue%2C"WorkerName"%3A"Blackbox"}' Set-Location("c:\Users\Stephan\Desktop\NemosMiner\") diff --git a/Includes/Downloader.ps1 b/Includes/Downloader.ps1 index 68431469fd..8c8605973d 100644 --- a/Includes/Downloader.ps1 +++ b/Includes/Downloader.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: Downloader.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module .\Includes\Include.psm1 diff --git a/Includes/Include.psm1 b/Includes/Include.psm1 index c223d67c27..310e00e670 100644 --- a/Includes/Include.psm1 +++ b/Includes/Include.psm1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: include.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> # Window handling @@ -289,7 +289,7 @@ Class Miner { DateTime = (Get-Date -Format o) Action = "Launched" Name = $this.Name - Accounts = ($this.Workers.Pool.User | ForEach-Object { $_ -split "\." | Select-Object -First 1 } | Select-Object -Unique) -join "; " + Accounts = ($this.Workers.Pool.User | ForEach-Object { $_ -replace "\.*" } | Select-Object -Unique) -join "; " Algorithms = $this.Workers.Pool.Algorithm -join "; " Benchmark = $this.Benchmark CommandLine = $this.CommandLine @@ -334,7 +334,8 @@ Class Miner { } [MinerStatus]GetStatus() { - If ($this.Process.State -eq [MinerStatus]::Running -and $this.ProcessId -and (Get-Process -Id $this.ProcessId -ErrorAction Ignore).ProcessName) { # Use ProcessName, some crashed miners are dead but may still be found by their processId + # Use ProcessName, some crashed miners are dead but may still be found by their processId + If ($this.Process.State -eq [MinerStatus]::Running -and $this.ProcessId -and (Get-Process -Id $this.ProcessId -ErrorAction Ignore).ProcessName) { Return [MinerStatus]::Running } ElseIf ($this.Status -eq [MinerStatus]::Running) { @@ -376,7 +377,6 @@ Class Miner { Write-Message -Level Error $this.StatusMessage } - # Stop Miner data reader $this.StopDataReader() $this.EndTime = (Get-Date).ToUniversalTime() @@ -404,7 +404,7 @@ Class Miner { DateTime = (Get-Date -Format o) Action = If ($this.Status -eq [MinerStatus]::Idle) { "Stopped" } Else { "Failed" } Name = $this.Name - Accounts = ($this.WorkersRunning.Pool.User | ForEach-Object { $_ -split "\." | Select-Object -First 1 } | Select-Object -Unique) -join "; " + Accounts = ($this.WorkersRunning.Pool.User | ForEach-Object { $_ -replace "\.*" } | Select-Object -Unique) -join "; " Algorithms = $this.WorkersRunning.Pool.Algorithm -join "; " Benchmark = $this.Benchmark CommandLine = "" @@ -671,7 +671,7 @@ namespace PInvoke.Win32 { If ($IdleSeconds -lt $Config.IdleSec -and $Variables.IdleRunspace.MiningStatus -ne "Idle") { $Variables.IdleRunspace | Add-Member MiningStatus "Idle" -Force - $MiningStatusLabel.Text = "Idle | $($Variables.Branding.ProductLabel) $($Variables.Branding.Version)" + $MiningStatusLabel.Text = "$($Variables.Branding.ProductLabel) is idle" $MiningStatusLabel.ForeColor = [System.Drawing.Color]::Green } @@ -679,7 +679,7 @@ namespace PInvoke.Win32 { If ($IdleSeconds -ge $Config.IdleSec -and $Variables.IdleRunspace.MiningStatus -ne "Running") { $Variables.IdleRunspace | Add-Member MiningStatus "Running" -Force - $MiningStatusLabel.Text = "Running | $($Variables.Branding.ProductLabel) $($Variables.Branding.Version)" + $MiningStatusLabel.Text = "$($Variables.Branding.ProductLabel) is running" $MiningStatusLabel.ForeColor = [System.Drawing.Color]::Green } Start-Sleep -Seconds 1 diff --git a/Includes/LegacyGUI.ps1 b/Includes/LegacyGUI.ps1 index 3e1b6ca042..afb32933b1 100644 --- a/Includes/LegacyGUI.ps1 +++ b/Includes/LegacyGUI.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: LegacyGUI.psm1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> [Void] [System.Windows.Forms.Application]::EnableVisualStyles() @@ -46,16 +46,16 @@ Function CheckBoxSwitching_Click { $SwitchingDGV.DataSource = Get-Content ".\Logs\SwitchingLog.csv" | ConvertFrom-Csv | Where-Object { $_.Type -in $SwitchingDisplayTypes } | Select-Object -Last 1000 | ForEach-Object { $_.Datetime = (Get-Date $_.DateTime).ToString("G"); $_ } | Select-Object @("DateTime", "Action", "Name", "Pools", "Algorithms", "Accounts", "Cycle", "Duration", "DeviceNames", "Type") | Out-DataTable If ($SwitchingDGV.Columns) { - $SwitchingDGV.Columns[0].FillWeight = 65 + $SwitchingDGV.Columns[0].FillWeight = 50 $SwitchingDGV.Columns[1].FillWeight = 50 - $SwitchingDGV.Columns[2].FillWeight = 150 - $SwitchingDGV.Columns[3].FillWeight = 90 - $SwitchingDGV.Columns[4].FillWeight = 65 - $SwitchingDGV.Columns[5].FillWeight = 90 + $SwitchingDGV.Columns[2].FillWeight = 90; $SwitchingDGV.Columns[2].HeaderText = "Miner" + $SwitchingDGV.Columns[3].FillWeight = 60 + ($SwitchingDGV.MinersBest_Combo | ForEach-Object { $_.Pools.Count } | Measure-Object -Maximum).Maximum * 40; $SwitchingDGV.Columns[3].HeaderText = "Pool(s)" + $SwitchingDGV.Columns[4].FillWeight = 50 + ($SwitchingDGV.MinersBest_Combo | ForEach-Object { $_.Algorithms.Count } | Measure-Object -Maximum).Maximum * 25; $SwitchingDGV.Columns[4].HeaderText = "Algorithm(s)" + $SwitchingDGV.Columns[5].FillWeight = 90 + ($SwitchingDGV.MinersBest_Combo | ForEach-Object { $_.Accounts.Count } | Measure-Object -Maximum).Maximum * 50; $SwitchingDGV.Columns[5].HeaderText = "Account(s)" $SwitchingDGV.Columns[6].FillWeight = 30; $SwitchingDGV.Columns[6].HeaderText = "Cycles"; $SwitchingDGV.Columns[6].DefaultCellStyle.Alignment = "MiddleRight"; $SwitchingDGV.Columns[6].HeaderCell.Style.Alignment = "MiddleRight" $SwitchingDGV.Columns[7].FillWeight = 40 - $SwitchingDGV.Columns[8].HeaderText = "Device(s)" - $SwitchingDGV.Columns[9].FillWeight = 40 + $SwitchingDGV.Columns[8].FillWeight = 30 + ($SwitchingDGV.MinersBest_Combo | ForEach-Object { $_.DeviceNames.Count } | Measure-Object -Maximum).Maximum * 15; $SwitchingDGV.Columns[8].HeaderText = "Device(s)" + $SwitchingDGV.Columns[9].FillWeight = 30 } Colorize_SwitchingLog @@ -444,7 +444,7 @@ Function Update-TabControl { @{ Name = "Algorithm"; Expression = { $_.Algorithm } } @{ Name = "Coin Name"; Expression = { $_.CoinName } } @{ Name = "Currency"; Expression = { $_.Currency } } - @{ Name = "BTC/GH/Day`n(Biased)"; Expression = { "{0:n$($Config.DecimalsMax)}" -f $_.Price_Bias } } + @{ Name = "BTC/GH/Day`n(Biased)"; Expression = { "{0:n$($Config.DecimalsMax)}" -f ($_.Price_Bias * [Math]::Pow(1024, 3)) } } @{ Name = "Accuracy"; Expression = { "{0:p2}" -f $_.Accuracy } } @{ Name = "Pool Name"; Expression = { $_.Name } } @{ Name = "Host"; Expression = { $_.Host } } @@ -496,9 +496,9 @@ Function Update-TabControl { @{ Name = "Status"; Expression = { $_.status } }, @{ Name = "Last seen"; Expression = { (Get-TimeSince $_.date) } }, @{ Name = "Version"; Expression = { $_.version } }, - @{ Name = "Currency"; Expression = { [String]$Config.Currency } }, + @{ Name = "Currency"; Expression = { ForEach-Object { $_.data.Currency | Select-Object -Unique } } }, @{ Name = "Estimated Earning/day"; Expression = { If ($_.Data -ne $null) { "{0:n$($Config.DecimalsMax)}" -f (($_.Data.Earning | Where-Object { -not [Double]::IsNaN($_) } | Measure-Object -Sum).Sum * $Variables.Rates.BTC.($_.data.Currency | Select-Object -Unique)) } } }, - @{ Name = "Estimated Profit/day"; Expression = { If ($_.Data -ne $null) { "{0:n$($Config.DecimalsMax)}" -f (($_.Data.Profit | Where-Object { -not [Double]::IsNaN($_) } | Measure-Object -Sum).Sum * $Variables.Rates.BTC.($_.data.Currency | Select-Object -Unique)) } } }, + @{ Name = "Estimated Profit/day"; Expression = { If ($_.Data -ne $null) { " {0:n$($Config.DecimalsMax)}" -f (($_.Data.Profit | Where-Object { -not [Double]::IsNaN($_) } | Measure-Object -Sum).Sum * $Variables.Rates.BTC.($_.data.Currency | Select-Object -Unique)) } } }, @{ Name = "Miner(s)"; Expression = { $_.data.Name -join $nl } }, @{ Name = "Pool(s)"; Expression = { ($_.data | ForEach-Object { $_.Pool -split "," -join " & " }) -join $nl } }, @{ Name = "Algorithm(s)"; Expression = { ($_.data | ForEach-Object { $_.Algorithm -split "," -join " & " }) -join $nl } }, @@ -534,10 +534,10 @@ Function Update-TabControl { Break } "Switching Log" { - $CheckShowSwitchingCPU.Enabled = [Boolean]($Variables.Devices | Where-Object { $_.State -NE [DeviceState]::Unsupported } | Where-Object Name -NotIn $Config.ExcludeDeviceName | Where-Object Name -Like "CPU#*") - $CheckShowSwitchingAMD.Enabled = [Boolean]($Variables.Devices | Where-Object { $_.State -NE [DeviceState]::Unsupported } | Where-Object Name -NotIn $Config.ExcludeDeviceName | Where-Object Name -Like "GPU#*" | Where-Object Vendor -EQ "AMD") - $CheckShowSwitchingINTEL.Enabled = [Boolean]($Variables.Devices | Where-Object { $_.State -NE [DeviceState]::Unsupported } | Where-Object Name -NotIn $Config.ExcludeDeviceName | Where-Object Name -Like "GPU#*" | Where-Object Vendor -EQ "INTEL") - $CheckShowSwitchingNVIDIA.Enabled = [Boolean]($Variables.Devices | Where-Object { $_.State -NE [DeviceState]::Unsupported } | Where-Object Name -NotIn $Config.ExcludeDeviceName | Where-Object Name -Like "GPU#*" | Where-Object Vendor -EQ "NVIDIA") + $CheckShowSwitchingCPU.Enabled = [Boolean]($Variables.Devices | Where-Object { $_.State -NE [DeviceState]::Unsupported } | Where-Object Name -NotIn $Config.ExcludeDeviceName | Where-Object Type -EQ "CPU") + $CheckShowSwitchingAMD.Enabled = [Boolean]($Variables.Devices | Where-Object { $_.State -NE [DeviceState]::Unsupported } | Where-Object Name -NotIn $Config.ExcludeDeviceName | Where-Object Type -EQ "GPU" | Where-Object Vendor -EQ "AMD") + $CheckShowSwitchingINTEL.Enabled = [Boolean]($Variables.Devices | Where-Object { $_.State -NE [DeviceState]::Unsupported } | Where-Object Name -NotIn $Config.ExcludeDeviceName | Where-Object Type -EQ "GPU" | Where-Object Vendor -EQ "INTEL") + $CheckShowSwitchingNVIDIA.Enabled = [Boolean]($Variables.Devices | Where-Object { $_.State -NE [DeviceState]::Unsupported } | Where-Object Name -NotIn $Config.ExcludeDeviceName | Where-Object Type -EQ "GPU" | Where-Object Vendor -EQ "NVIDIA") If (-not $CheckShowSwitchingCPU.Enabled) { $CheckShowSwitchingCPU.Checked = $false } If (-not $CheckShowSwitchingAMD.Enabled) { $CheckShowSwitchingAMD.Checked = $false } @@ -591,14 +591,14 @@ Function Update-TabControl { } Function Form_Resize { - $TabControl.Width = $LegacyGUIForm.ClientSize.Width - 12 + $TabControl.Width = $LegacyGUIForm.ClientSize.Width - 16 $TabControl.Height = $LegacyGUIForm.ClientSize.Height - $TabControl.Top - $EditConfigLink.Height $ButtonStart.Location = [System.Drawing.Point]::new(($LegacyGUIForm.Width - $ButtonStop.Width - $ButtonPause.Width - $ButtonStart.Width - 60), 6) $ButtonPause.Location = [System.Drawing.Point]::new(($LegacyGUIForm.Width - $ButtonStop.Width - $ButtonPause.Width - 50), 6) $ButtonStop.Location = [System.Drawing.Point]::new(($LegacyGUIForm.Width - $ButtonStop.Width - 40), 6) - $MiningSummaryLabel.Width = $Variables.TextBoxSystemLog.Width = $Variables.TextBoxSystemLog.Width = $LaunchedMinersDGV.Width = $EarningsChart.Width = $BalancesDGV.Width = $MinersPanel.Width = $MinersDGV.Width = $PoolsPanel.Width = $PoolsDGV.Width = $WorkersDGV.Width = $SwitchingDGV.Width = $WatchdogTimersDGV.Width = $TabControl.Width - 30 + $MiningSummaryLabel.Width = $Variables.TextBoxSystemLog.Width = $Variables.TextBoxSystemLog.Width = $LaunchedMinersDGV.Width = $EarningsChart.Width = $BalancesDGV.Width = $MinersPanel.Width = $MinersDGV.Width = $PoolsPanel.Width = $PoolsDGV.Width = $WorkersDGV.Width = $SwitchingDGV.Width = $WatchdogTimersDGV.Width = $TabControl.Width - 26 If ($Config.BalancesTrackerPollInterval -gt 0 -and $BalancesDGV.Rows.Count -gt 0) { $BalancesDGVHeight = ($BalancesDGV.Rows.Height | Measure-Object -Sum).Sum + $BalancesDGV.ColumnHeadersHeight @@ -610,15 +610,15 @@ Function Form_Resize { Else { $EarningsChart.Height = $TabControl.Height - $BalancesDGVHeight - 46 $BalancesDGV.ScrollBars = "None" - $BalancesLabel.Location = [System.Drawing.Point]::new(6, ($EarningsChart.Bottom - 20)) + $BalancesLabel.Location = [System.Drawing.Point]::new(8, ($EarningsChart.Bottom - 20)) } } Else { $BalancesDGV.ScrollBars = "None" - $BalancesLabel.Location = [System.Drawing.Point]::new(6, ($TabControl.Height - $BalancesLabel.Height - 50)) + $BalancesLabel.Location = [System.Drawing.Point]::new(8, ($TabControl.Height - $BalancesLabel.Height - 50)) $EarningsChart.Height = $BalancesLabel.Top + 36 } - $BalancesDGV.Location = [System.Drawing.Point]::new(8, $BalancesLabel.Bottom) + $BalancesDGV.Location = [System.Drawing.Point]::new(10, $BalancesLabel.Bottom) $BalancesDGV.Height = $TabControl.Height - $BalancesLabel.Bottom - 46 $BalancesLabel.BringToFront() @@ -633,17 +633,17 @@ Function Form_Resize { $LaunchedMinersDGV.ScrollBars = "None" } - $SystemLogLabel.Location = [System.Drawing.Point]::new(6, ($LaunchedMinersLabel.Height + $LaunchedMinersDGV.Height + 25)) - $Variables.TextBoxSystemLog.Location = [System.Drawing.Point]::new(0, ($LaunchedMinersLabel.Height + $LaunchedMinersDGV.Height + $SystemLogLabel.Height + 24)) + $SystemLogLabel.Location = [System.Drawing.Point]::new(8, ($LaunchedMinersLabel.Height + $LaunchedMinersDGV.Height + 25)) + $Variables.TextBoxSystemLog.Location = [System.Drawing.Point]::new(8, ($LaunchedMinersLabel.Height + $LaunchedMinersDGV.Height + $SystemLogLabel.Height + 24)) $Variables.TextBoxSystemLog.Height = ($TabControl.Height - $LaunchedMinersLabel.Height - $LaunchedMinersDGV.Height - $SystemLogLabel.Height - 68) - $Variables.TextBoxSystemLog.Width = $TabControl.Width - 18 + $Variables.TextBoxSystemLog.Width = $TabControl.Width - 26 If (-not $Variables.TextBoxSystemLog.SelectionLength) { $Variables.TextBoxSystemLog.ScrollToCaret() } - $MinersDGV.Height = $TabControl.Height - $MinersLabel.Height - $MinersPanel.Height - 60 + $MinersDGV.Height = $TabControl.Height - $MinersLabel.Height - $MinersPanel.Height - 61 - $PoolsDGV.Height = $TabControl.Height - $PoolsLabel.Height - $PoolsPanel.Height - 60 + $PoolsDGV.Height = $TabControl.Height - $PoolsLabel.Height - $PoolsPanel.Height - 61 $WorkersDGV.Height = $TabControl.Height - $WorkersLabel.Height - 58 @@ -655,6 +655,8 @@ Function Form_Resize { $CopyrightLabel.Location = [System.Drawing.Point]::new(($TabControl.Width - $CopyrightLabel.Width), ($LegacyGUIForm.ClientSize.Height - $EditConfigLink.Height)) } +$Tooltip = New-Object System.Windows.Forms.ToolTip + $LegacyGUIForm = New-Object System.Windows.Forms.Form #--- For High DPI, First Call SuspendLayout(),After that, Set AutoScaleDimensions, AutoScaleMode --- # SuspendLayout() is Very important to correctly size and position all controls! @@ -699,10 +701,10 @@ $MiningStatusLabel.Font = [System.Drawing.Font]::new("Microsoft Sans Serif", 12) $MiningStatusLabel.ForeColor = [System.Drawing.Color]::Black $MiningStatusLabel.Height = 20 $MiningStatusLabel.Location = [System.Drawing.Point]::new(6, 10) -$MiningStatusLabel.Text = "$($Variables.Branding.ProductLabel) $($Variables.Branding.Version)" +$MiningStatusLabel.Text = "$($Variables.Branding.ProductLabel)" $MiningStatusLabel.TextAlign = "MiddleLeft" $MiningStatusLabel.Visible = $true -$MiningStatusLabel.Width = 480 +$MiningStatusLabel.Width = 360 $LegacyGUIControls += $MiningStatusLabel $MiningSummaryLabel = New-Object System.Windows.Forms.Label @@ -717,6 +719,8 @@ $MiningSummaryLabel.Tag = "" $MiningSummaryLabel.TextAlign = "MiddleLeft" $MiningSummaryLabel.Visible = $true $LegacyGUIControls += $MiningSummaryLabel +$Variables.TextBoxSystemLog +$Tooltip.SetToolTip($MiningSummaryLabel, "Color legend:`nBlack: Mining is profitable`nRed: Mining NOT profitable") $ButtonStart = New-Object System.Windows.Forms.Button $ButtonStart.Enabled = (-not $Config.Autostart) @@ -734,6 +738,7 @@ $ButtonStart.Add_Click( } ) $LegacyGUIControls += $ButtonStart +$Tooltip.SetToolTip($ButtonStart, "Start the mining process.") $ButtonPause = New-Object System.Windows.Forms.Button $ButtonPause.Enabled = $Config.Autostart @@ -751,6 +756,7 @@ $ButtonPause.Add_Click( } ) $LegacyGUIControls += $ButtonPause +$Tooltip.SetToolTip($ButtonPause, "Pause mining processes.`nBackground processes remain running.") $ButtonStop = New-Object System.Windows.Forms.Button $ButtonStop.Enabled = $Config.Autostart @@ -768,6 +774,7 @@ $ButtonStop.Add_Click( } ) $LegacyGUIControls += $ButtonStop +$Tooltip.SetToolTip($ButtonStop, "Stop mining processes.`nBackground processes will also stop.") $EditConfigLink = New-Object System.Windows.Forms.LinkLabel $EditConfigLink.ActiveLinkColor = [System.Drawing.Color]::Blue @@ -778,6 +785,7 @@ $EditConfigLink.TextAlign = "MiddleLeft" $EditConfigLink.Size = New-Object System.Drawing.Size(380, 26) $EditConfigLink.Add_Click({ If ($EditConfigLink.Tag -eq "WebGUI") { Start-Process "http://localhost:$($Variables.APIRunspace.APIPort)/configedit.html" } Else { Edit-File $Variables.ConfigFile } }) $LegacyGUIControls += $EditConfigLink +$Tooltip.SetToolTip($EditConfigLink, "Click to the edit configuration") $CopyrightLabel = New-Object System.Windows.Forms.LinkLabel $CopyrightLabel.ActiveLinkColor = [System.Drawing.Color]::Blue @@ -789,6 +797,7 @@ $CopyrightLabel.Text = "Copyright (c) 2018-$((Get-Date).Year) Nemo, MrPlus && Us $CopyrightLabel.TextAlign = "MiddleRight" $CopyrightLabel.Add_Click({ Start-Process "https://github.com/Minerx117/NemosMiner/blob/master/LICENSE" }) $LegacyGUIControls += $CopyrightLabel +$Tooltip.SetToolTip($CopyrightLabel, "Click to go to the $($Variables.Branding.ProductLabel) Github page") # Miner context menu items $ContextMenuStrip = New-Object System.Windows.Forms.ContextMenuStrip @@ -1127,6 +1136,7 @@ $Variables.TextBoxSystemLog.Scrollbars = "Vertical" $Variables.TextBoxSystemLog.Text = "" $Variables.TextBoxSystemLog.WordWrap = $true $RunPageControls += $Variables.TextBoxSystemLog +$Tooltip.SetToolTip($Variables.TextBoxSystemLog, "These are the last 100 lines of the system log") # Earnings Page Controls $EarningsPageControls = @() @@ -1387,6 +1397,7 @@ $SwitchingLogClearButton.Add_Click( } ) $SwitchingPageControls += $SwitchingLogClearButton +$Tooltip.SetToolTip($SwitchingLogClearButton, "This will clear the switching log '.\Logs\switchinglog.csv'") $CheckShowSwitchingCPU = New-Object System.Windows.Forms.CheckBox $CheckShowSwitchingCPU.AutoSize = $false @@ -1488,6 +1499,7 @@ $WatchdogTimersRemoveButton.Add_Click( } ) $WatchdogTimersPageControls += $WatchdogTimersRemoveButton +$Tooltip.SetToolTip($WatchdogTimersRemoveButton, "This will remove all watchdog timers.`nWatchdog timers will be recreated in next cycle.") $WatchdogTimersDGV = New-Object System.Windows.Forms.DataGridView $WatchdogTimersDGV.AllowUserToAddRows = $false @@ -1526,12 +1538,12 @@ $TabControl.Height = $LegacyGUIForm.ClientSize.Height - $MiningStatusLabel.Clien $TabControl.Width = $LegacyGUIForm.ClientSize.Width - 12 $TabControl.Controls.AddRange(@($RunPage, $EarningsPage, $MinersPage, $PoolsPage, $RigMonitorPage, $SwitchingPage, $WatchdogTimersPage)) $TabControl.Add_Click({ Update-TabControl }) -$LegacyGUIForm.Controls.Add($TabControl) +$LegacyGUIForm.Controls.Add($TabControl) $LegacyGUIForm.ResumeLayout() $LegacyGUIForm.Add_Load( { - If (Test-Path -Path ".\Config\WindowSettings.json" -PathType Leaf) { + If (Test-Path -Path ".\Config\WindowSettings.json" -PathType Leaf) { $WindowSettings = Get-Content -Path ".\Config\WindowSettings.json" | ConvertFrom-Json -AsHashtable # Restore window size If ($WindowSettings.Width -gt $LegacyGUIForm.MinimumSize.Width) { $LegacyGUIForm.Width = $WindowSettings.Width } @@ -1539,9 +1551,16 @@ $LegacyGUIForm.Add_Load( If ($WindowSettings.Top -gt 0) { $LegacyGUIForm.Top = $WindowSettings.Top } If ($WindowSettings.Left -gt 0) { $LegacyGUIForm.Left = $WindowSettings.Left } } - If ($Config.LegacyGUIStartMinimized) { $LegacyGUIForm.WindowState = [System.Windows.Forms.FormWindowState]::Minimized } - # To be done after loading window size to avoid double invocation + $Global:LegacyGUIFormWindowState = If ($Config.LegacyGUIStartMinimized) { [System.Windows.Forms.FormWindowState]::Minimized } Else { [System.Windows.Forms.FormWindowState]::Normal } + $LegacyGUIForm.Add_SizeChanged( + { + If ($this.WindowState -ne $Global:LegacyGUIFormWindowState) { + $Global:LegacyGUIFormWindowState = $this.WindowState + Form_Resize + } + } + ) $LegacyGUIForm.Add_ResizeEnd({ Form_Resize }) Form_Resize diff --git a/Includes/MinerAPIs/Ccminer.ps1 b/Includes/MinerAPIs/Ccminer.ps1 index 0d0587cf26..3bdede9221 100644 --- a/Includes/MinerAPIs/Ccminer.ps1 +++ b/Includes/MinerAPIs/Ccminer.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: CCminer.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class Ccminer : Miner { diff --git a/Includes/MinerAPIs/EthMiner.ps1 b/Includes/MinerAPIs/EthMiner.ps1 index 476fa820d1..b7702693d8 100644 --- a/Includes/MinerAPIs/EthMiner.ps1 +++ b/Includes/MinerAPIs/EthMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: EthMiner.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class EthMiner : Miner { diff --git a/Includes/MinerAPIs/FireIce.ps1 b/Includes/MinerAPIs/FireIce.ps1 index 11ccab8601..0d84d35f34 100644 --- a/Includes/MinerAPIs/FireIce.ps1 +++ b/Includes/MinerAPIs/FireIce.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: FireIce.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class Fireice : Miner { diff --git a/Includes/MinerAPIs/Gminer.ps1 b/Includes/MinerAPIs/Gminer.ps1 index eb4352653a..96fff9e5f6 100644 --- a/Includes/MinerAPIs/Gminer.ps1 +++ b/Includes/MinerAPIs/Gminer.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: GMiner.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class Gminer : Miner { diff --git a/Includes/MinerAPIs/MiniZ.ps1 b/Includes/MinerAPIs/MiniZ.ps1 index 82cff00bdc..98f3755a88 100644 --- a/Includes/MinerAPIs/MiniZ.ps1 +++ b/Includes/MinerAPIs/MiniZ.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: MiniZ.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class MiniZ : Miner { diff --git a/Includes/MinerAPIs/NBMiner.ps1 b/Includes/MinerAPIs/NBMiner.ps1 index b6a2fbc401..fab23ab3c6 100644 --- a/Includes/MinerAPIs/NBMiner.ps1 +++ b/Includes/MinerAPIs/NBMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: NBMiner.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class NBMiner : Miner { diff --git a/Includes/MinerAPIs/NanoMiner.ps1 b/Includes/MinerAPIs/NanoMiner.ps1 index 448cdd6be7..445c3f468f 100644 --- a/Includes/MinerAPIs/NanoMiner.ps1 +++ b/Includes/MinerAPIs/NanoMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: NanoMiner.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class NanoMiner : Miner { diff --git a/Includes/MinerAPIs/Nheq.ps1 b/Includes/MinerAPIs/Nheq.ps1 index 4a12da638b..9bbc2b8b95 100644 --- a/Includes/MinerAPIs/Nheq.ps1 +++ b/Includes/MinerAPIs/Nheq.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: Nheq.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class Nheq : Miner { diff --git a/Includes/MinerAPIs/Rigel.ps1 b/Includes/MinerAPIs/Rigel.ps1 index 5a5557ae69..4078ae9f80 100644 --- a/Includes/MinerAPIs/Rigel.ps1 +++ b/Includes/MinerAPIs/Rigel.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: Rigel.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class Rigel : Miner { diff --git a/Includes/MinerAPIs/SRBMiner.ps1 b/Includes/MinerAPIs/SRBMiner.ps1 index e48159d610..0ef3f1b155 100644 --- a/Includes/MinerAPIs/SRBMiner.ps1 +++ b/Includes/MinerAPIs/SRBMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: SRBminer.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class SRBMiner : Miner { diff --git a/Includes/MinerAPIs/TeamBlackMiner.ps1 b/Includes/MinerAPIs/TeamBlackMiner.ps1 index 12a4822903..9e66374b4a 100644 --- a/Includes/MinerAPIs/TeamBlackMiner.ps1 +++ b/Includes/MinerAPIs/TeamBlackMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: lolMiner.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class TeamBlackMiner140 : Miner { diff --git a/Includes/MinerAPIs/Trex.ps1 b/Includes/MinerAPIs/Trex.ps1 index ebe165f1d1..820f8a55ed 100644 --- a/Includes/MinerAPIs/Trex.ps1 +++ b/Includes/MinerAPIs/Trex.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: Trex.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class Trex : Miner { diff --git a/Includes/MinerAPIs/Xgminer.ps1 b/Includes/MinerAPIs/Xgminer.ps1 index 2e769e42f2..7460cba482 100644 --- a/Includes/MinerAPIs/Xgminer.ps1 +++ b/Includes/MinerAPIs/Xgminer.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: Xgminer.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class Xgminer : Miner { diff --git a/Includes/MinerAPIs/XmRig.ps1 b/Includes/MinerAPIs/XmRig.ps1 index aaf00c9d64..baa6e8ee51 100644 --- a/Includes/MinerAPIs/XmRig.ps1 +++ b/Includes/MinerAPIs/XmRig.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: XmRig.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class XmRig : Miner { diff --git a/Includes/MinerAPIs/lolMiner.ps1 b/Includes/MinerAPIs/lolMiner.ps1 index 7ae8efd9cd..50e78bfddc 100644 --- a/Includes/MinerAPIs/lolMiner.ps1 +++ b/Includes/MinerAPIs/lolMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: NemosMiner File: lolMiner.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> class lolMiner : Miner { diff --git a/Miners/Rigel-v1.3.10.ps1 b/Miners/Rigel-v1.3.11.ps1 similarity index 97% rename from Miners/Rigel-v1.3.10.ps1 rename to Miners/Rigel-v1.3.11.ps1 index 1990a26b5e..d26817afb6 100644 --- a/Miners/Rigel-v1.3.10.ps1 +++ b/Miners/Rigel-v1.3.11.ps1 @@ -1,6 +1,6 @@ If (-not ($Devices = $Variables.EnabledDevices | Where-Object Type -EQ "NVIDIA")) { Return } -$Uri = "https://github.com/rigelminer/rigel/releases/download/1.3.10/rigel-1.3.10-win.zip" +$Uri = "https://github.com/rigelminer/rigel/releases/download/1.3.11/rigel-1.3.11-win.zip" $Name = (Get-Item $MyInvocation.MyCommand.Path).BaseName $Path = ".\Bin\$($Name)\Rigel.exe" $DeviceEnumerator = "Type_Vendor_Slot" @@ -8,9 +8,9 @@ $DeviceEnumerator = "Type_Vendor_Slot" $Algorithms = [PSCustomObject[]]@( [PSCustomObject]@{ Algorithms = @("EtcHash"); Fee = @(0.007); MinMemGiB = $MinerPools[0].Etchash.DAGSizeGiB + 0.77; Tuning = " --mt2"; MinerSet = 0; WarmupTimes = @(45, 10); ExcludeGPUArchitecture = @("Other"); ExcludePools = @(@(), @()); Arguments = " --algorithm etchash" } - [PSCustomObject]@{ Algorithms = @("EtcHash", "kHeavyHash"); Fee = @(0.007); MinMemGiB = $MinerPools[0].Etchash.DAGSizeGiB+ 0.41; Tuning = " --mt2"; MinerSet = 0; WarmupTimes = @(45, 45); ExcludeGPUArchitecture = @("Other"); ExcludePools = @(@(), @()); Arguments = " --algorithm etchash+kheavyhash" } + [PSCustomObject]@{ Algorithms = @("EtcHash", "kHeavyHash"); Fee = @(0.007); MinMemGiB = $MinerPools[0].Etchash.DAGSizeGiB+ 0.41; Tuning = " --mt2"; MinerSet = 0; WarmupTimes = @(45, 25); ExcludeGPUArchitecture = @("Other"); ExcludePools = @(@(), @()); Arguments = " --algorithm etchash+kheavyhash" } [PSCustomObject]@{ Algorithms = @("Ethash"); Fee = @(0.007); MinMemGiB = $MinerPools[0].Ethash.DAGSizeGiB + 0.77; Tuning = " --mt2"; MinerSet = 0; WarmupTimes = @(55, 15); ExcludeGPUArchitecture = @("Other"); ExcludePools = @(@(), @()); Arguments = " --algorithm ethash" } - [PSCustomObject]@{ Algorithms = @("Ethash", "kHeavyHash"); Fee = @(0.007); MinMemGiB = $MinerPools[0].Ethash.DAGSizeGiB + 0.77; Tuning = " --mt2"; Minerset = 2; WarmupTimes = @(55, 45); ExcludeGPUArchitecture = @("Other"); ExcludePools = @(@(), @()); Arguments = " --algorithm ethash+kheavyhash" } + [PSCustomObject]@{ Algorithms = @("Ethash", "kHeavyHash"); Fee = @(0.007); MinMemGiB = $MinerPools[0].Ethash.DAGSizeGiB + 0.77; Tuning = " --mt2"; Minerset = 2; WarmupTimes = @(55, 25); ExcludeGPUArchitecture = @("Other"); ExcludePools = @(@(), @()); Arguments = " --algorithm ethash+kheavyhash" } # [PSCustomObject]@{ Algorithms = @("EthashLowMem"); Fee = @(0.007); MinMemGiB = $MinerPools[0].EthashLowMem.DAGSizeGiB + 0.77; Tuning = " --mt2"; Minerset = 2; WarmupTimes = @(45, 10); ExcludeGPUArchitecture = @("Other"); ExcludePools = @(@(), @()); Arguments = " --algorithm ethash" } # [PSCustomObject]@{ Algorithms = @("EthashLowMem", "kHeavyHash"); Fee = @(0.007); MinMemGiB = $MinerPools[0].EthashLowMem.DAGSizeGiB + 0.77; Tuning = " --mt2"; Minerset = 2; WarmupTimes = @(45, 15); ExcludeGPUArchitecture = @("Other"); ExcludePools = @(@(), @()); Arguments = " --algorithm ethash+kheavyhash" } [PSCustomObject]@{ Algorithms = @("kHeavyHash"); Fee = @(0.007); MinMemGiB = 2.0; Tuning = " --mt2"; MinerSet = 0; WarmupTimes = @(45, 10); ExcludeGPUArchitecture = @("Other"); ExcludePools = @(@(), @()); Arguments = " --algorithm kheavyhash" } diff --git a/NemosMiner.ps1 b/NemosMiner.ps1 index 0e95e25fe1..c22dadea93 100644 --- a/NemosMiner.ps1 +++ b/NemosMiner.ps1 @@ -21,8 +21,8 @@ along with this program. If not, see . <# Product: NemosMiner File: NemosMiner.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> [CmdletBinding()] @@ -291,7 +291,7 @@ $Variables.Branding = [PSCustomObject]@{ BrandName = "NemosMiner" BrandWebSite = "https://nemosminer.com" ProductLabel = "NemosMiner" - Version = [System.Version]"4.3.3.1" + Version = [System.Version]"4.3.3.2" } $WscriptShell = New-Object -ComObject Wscript.Shell @@ -555,7 +555,7 @@ Function MainLoop { Write-MonitoringData | Out-Null If ($Variables.MiningStatus -and $LegacyGUIform) { - $MiningStatusLabel.Text = "$($Variables.Branding.ProductLabel) $($Variables.Branding.Version) is stopped" + $MiningStatusLabel.Text = "$($Variables.Branding.ProductLabel) is stopped" $MiningStatusLabel.ForeColor = [System.Drawing.Color]::Red $MiningSummaryLabel.ForeColor = [System.Drawing.Color]::Black $MiningSummaryLabel.Text = "Click the 'Start mining' button to make money." @@ -583,7 +583,7 @@ Function MainLoop { Write-MonitoringData | Out-Null If ($LegacyGUIform) { - $MiningStatusLabel.Text = "$($Variables.Branding.ProductLabel) $($Variables.Branding.Version) is paused" + $MiningStatusLabel.Text = "$($Variables.Branding.ProductLabel) is paused" $MiningStatusLabel.ForeColor = [System.Drawing.Color]::Blue $MiningSummaryLabel.ForeColor = [System.Drawing.Color]::Black $MiningSummaryLabel.Text = "Click the 'Start mining' button to make money." @@ -608,7 +608,7 @@ Function MainLoop { Start-Mining If ($LegacyGUIform) { - $MiningStatusLabel.Text = "$($Variables.Branding.ProductLabel) $($Variables.Branding.Version) is running" + $MiningStatusLabel.Text = "$($Variables.Branding.ProductLabel) is running" $MiningStatusLabel.ForeColor = [System.Drawing.Color]::Green $MiningSummaryLabel.ForeColor = [System.Drawing.Color]::Black $MiningSummaryLabel.Text = "Starting mining processes..." @@ -802,7 +802,7 @@ Function MainLoop { If ($Variables.RefreshNeeded) { $Variables.RefreshNeeded = $false - $host.UI.RawUI.WindowTitle = $LegacyGUIForm.Text = "$($Variables.Branding.ProductLabel) $($Variables.Branding.Version) Runtime: {0:dd} days {0:hh} hrs {0:mm} mins Path: $($Variables.Mainpath)" -f [TimeSpan]((Get-Date).ToUniversalTime() - $Variables.ScriptStartTime) + $host.UI.RawUI.WindowTitle = $LegacyGUIForm.Text = "$($Variables.Branding.ProductLabel) $($Variables.Branding.Version) - Runtime: {0:dd} days {0:hh} hrs {0:mm} mins - Path: $($Variables.Mainpath)" -f [TimeSpan]((Get-Date).ToUniversalTime() - $Variables.ScriptStartTime) If (-not ($Variables.Miners | Where-Object Status -eq "Running") -and $Variables.Timer) { Write-Host "No miners running. Waiting for next cycle." } @@ -919,7 +919,7 @@ Function MainLoop { [System.Collections.ArrayList]$Miner_Table = @( @{ Label = "Hashrate(s)"; Expression = { (($_.Workers.Hashrate | ForEach-Object { "$($_ | ConvertTo-Hash)/s" }) -join ' & ') -replace '\s+', ' ' }; Align = "right" } If ($Config.CalculatePowerCost -and $Variables.ShowPowerUsage) { @{ Label = "PowerUsage"; Expression = { If ([Double]::IsNaN($_.PowerUsage)) { "n/a" } Else { "$($_.PowerUsage.ToString("N2")) W" } }; Align = "right" } } - @{ Label6 = "Time since last run"; Expression = { "{0:dd}d {0:hh}h {0:mm}m {0:ss}s" -f $((Get-Date) - $_.GetActiveLast().ToLocalTime()) } } + @{ Label = "Time since last run"; Expression = { "{0:dd}d {0:hh}h {0:mm}m {0:ss}s" -f $((Get-Date) - $_.GetActiveLast().ToLocalTime()) } } @{ Label = "Active (total)"; Expression = { "{0:dd}d {0:hh}h {0:mm}m {0:ss}s" -f $_.TotalMiningDuration } } @{ Label = "Cnt"; Expression = { Switch ($_.Activated) { 0 { "Never" } 1 { "Once" } Default { "$_" } } } } @{ Label = "Device(s)"; Expression = { $_.DeviceNames -join ',' } } diff --git a/Pools/HashCryptos.ps1 b/Pools/HashCryptos.ps1 index a13dc87667..44cc257fb4 100644 --- a/Pools/HashCryptos.ps1 +++ b/Pools/HashCryptos.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: HashCryptos.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Pools/HiveON.ps1 b/Pools/HiveON.ps1 index 712671a52f..48c2fb58b3 100644 --- a/Pools/HiveON.ps1 +++ b/Pools/HiveON.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: Hiveon.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Pools/MiningDutch.ps1 b/Pools/MiningDutch.ps1 index d8a2e17d5a..0c842ee743 100644 --- a/Pools/MiningDutch.ps1 +++ b/Pools/MiningDutch.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: MiningDutch.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Pools/MiningPoolHub.ps1 b/Pools/MiningPoolHub.ps1 index 0b5f7eff2d..540cbd210c 100644 --- a/Pools/MiningPoolHub.ps1 +++ b/Pools/MiningPoolHub.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: MiningPoolHub.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Pools/NiceHash.ps1 b/Pools/NiceHash.ps1 index 44ebb198be..a7412cfc9b 100644 --- a/Pools/NiceHash.ps1 +++ b/Pools/NiceHash.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: NiceHash.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Pools/ProHashing.ps1 b/Pools/ProHashing.ps1 index d4efcca8ab..9c5d5c8507 100644 --- a/Pools/ProHashing.ps1 +++ b/Pools/ProHashing.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: ProHashing.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Pools/ZPool.ps1 b/Pools/ZPool.ps1 index c2bb30534c..92cb2b202f 100644 --- a/Pools/ZPool.ps1 +++ b/Pools/ZPool.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: ZPool.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/Pools/ZergPool.ps1 b/Pools/ZergPool.ps1 index c428bea6a2..9b6a8ddf13 100644 --- a/Pools/ZergPool.ps1 +++ b/Pools/ZergPool.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: NemosMiner File: ZergPool.ps1 -Version: 4.3.3.1 -Version date: 02 April 2023 +Version: 4.3.3.2 +Version date: 05 April 2023 #> using module ..\Includes\Include.psm1 diff --git a/README.md b/README.md index 8661616ad1..e112c50b12 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ NemosMiner monitors mining pools in real-time in order to find the most profitable algorithm -Updated 02 April 2023 +Updated 05 April 2023 Copyright (c) 2018-2023 Nemo, MrPlus & UselessGuru diff --git a/Version.txt b/Version.txt index d091b5d949..afbc012c62 100644 --- a/Version.txt +++ b/Version.txt @@ -1,6 +1,6 @@ { "Product": "NemosMiner", - "Version": "4.3.3.1", + "Version": "4.3.3.2", "AutoUpdate": true, "RequireRestart": true, "Uri": "https://github.com/Minerx117/NemosMiner/archive/refs/heads/master.zip", diff --git a/Web/APIdocs.html b/Web/APIdocs.html index c390e71b76..3bb7a30bd6 100644 --- a/Web/APIdocs.html +++ b/Web/APIdocs.html @@ -16,8 +16,8 @@ Product: NemosMiner File: API.psm1 -version: 4.3.3.1 -version date: 02 April 2023--> +version: 4.3.3.2 +version date: 05 April 2023--> @@ -271,7 +271,7 @@

Functions


/functions/config/set
Write full config
Parameters: full config (JSON) -
e.g.: /functions/config/set?{"Algorithm"%3A%5B%5D%2C"APILogfile"%3A""%2C"APIPort"%3A3999%2C"AutoReboot"%3Atrue%2C"AutoUpdate"%3Atrue%2C"AutoUpdateCheckInterval"%3A1%2C"BackupOnAutoUpdate"%3Atrue%2C"BadShareRatioThreshold"%3A0.05%2C"BalancesKeepAlive"%3Atrue%2C"BalancesShowInAllCurrencies"%3Atrue%2C"BalancesTrackerExcludePool"%3A%5B%5D%2C"BalancesTrackerLog"%3Afalse%2C"BalancesTrackerPollInterval"%3A10%2C"CalculatePowerCost"%3Atrue%2C"ConfigFileVersion"%3A"4.3.3.1"%2C"CPUMinerProcessPriority"%3A-2%2C"Currency"%3A"CHF"%2C"DecimalsMax"%3A6%2C"Delay"%3A0%2C"DisableDualAlgoMining"%3Afalse%2C"DisableMinerFee"%3Afalse%2C"DisableMinersWithFee"%3Afalse%2C"DisableSingleAlgoMining"%3Afalse%2C"Donate"%3A13%2C"EarningsAdjustmentFactor"%3A1%2C"ExcludeDeviceName"%3A%5B%5D%2C"ExcludeMinerName"%3A%5B%5D%2C"ExtraCurrencies"%3A%5B"ETC"%2C"ETH"%2C"mBTC"%5D%2C"GPUMinerProcessPriority"%3A-1%2C"IdleDetection"%3Afalse%2C"IdleSec"%3A120%2C"IgnoreMinerFee"%3Afalse%2C"IgnorePoolFee"%3Afalse%2C"IgnorePowerCost"%3Afalse%2C"Interval"%3A90%2C"LogBalanceAPIResponse"%3Afalse%2C"LogToFile"%3A%5B"Info"%2C"Warn"%2C"Error"%2C"Verbose"%5D%2C"LogToScreen"%3A%5B"Info"%2C"Warn"%2C"Error"%2C"Verbose"%5D%2C"MinAccuracy"%3A0.5%2C"MinDataSample"%3A20%2C"MinDataSampleAlgoMultiplier"%3A{"X16r"%3A3}%2C"MinerInstancePerDeviceModel"%3Afalse%2C"MinerSet"%3A1%2C"MinerSwitchingThreshold"%3A10%2C"MinerWindowStyle"%3A"minimized"%2C"MinerWindowStyleNormalWhenBenchmarking"%3Atrue%2C"MiningPoolHubAPIKey"%3A""%2C"MiningPoolHubUserName"%3A"Nemo"%2C"MinInterval"%3A1%2C"MinWorker"%3A25%2C"MonitoringServer"%3A"https%3A%2F%2Fnemosminer.com"%2C"MonitoringUser"%3A""%2C"NiceHashAPIKey"%3A""%2C"NiceHashAPISecret"%3A""%2C"NiceHashOrganizationId"%3A""%2C"NiceHashWallet"%3A""%2C"NiceHashWalletIsInternal"%3Afalse%2C"OpenFirewallPorts"%3Atrue%2C"PayoutCurrency"%3A"BTC"%2C"PoolAPIAllowedFailureCount"%3A3%2C"PoolAPIRetryInterval"%3A3%2C"PoolAPITimeout"%3A20%2C"PoolName"%3A%5B"MiningPoolHubCoins"%2C"NiceHash"%5D%2C"PoolsConfigFile"%3A".%5C%5CConfig%5C%5CPoolsConfig.json"%2C"PoolTimeout"%3A20%2C"PowerPricekWh"%3A{"00%3A00"%3A0.26%2C"12%3A00"%3A0.3}%2C"PowerUsage"%3A{}%2C"PowerUsageIdleSystemW"%3A60%2C"ProfitabilityThreshold"%3A-99%2C"ProHashingAPIKey"%3A""%2C"ProHashingMiningMode"%3A"PPS"%2C"ProHashingUserName"%3A"UselessGuru"%2C"Proxy"%3A""%2C"Region"%3A"Europe"%2C"ReportToServer"%3Afalse%2C"ShowAccuracy"%3Atrue%2C"ShowAllMiners"%3Afalse%2C"ShowChangeLog"%3Afalse%2C"ShowCoinName"%3Atrue%2C"ShowCurrency"%3Atrue%2C"ShowEarning"%3Atrue%2C"ShowEarningBias"%3Atrue%2C"ShowMinerFee"%3Atrue%2C"ShowPoolBalances"%3Afalse%2C"ShowPoolFee"%3Atrue%2C"ShowPowerCost"%3Atrue%2C"ShowPowerUsage"%3Atrue%2C"ShowProfit"%3Atrue%2C"ShowProfitBias"%3Atrue%2C"ShowUser"%3Afalse%2C"ShowWorkerStatus"%3Atrue%2C"SnakeTailConfig"%3A".%5C%5CUtils%5C%5CNemosMiner_LogReader.xml"%2C"SnakeTailExe"%3A".%5C%5CUtils%5C%5CSnakeTail.exe"%2C"SSL"%3A"prefer"%2C"StartGUIMinimized"%3Atrue%2C"StartupMode"%3A"Idle"%2C"SubtractBadShares"%3Atrue%2C"SyncWindow"%3A3%2C"Transcript"%3Afalse%2C"UIStyle"%3A"light"%2C"UnrealMinerEarningFactor"%3A5%2C"UnrealPoolPriceFactor"%3A1.5%2C"UseAnycast"%3Atrue%2C"UsemBTC"%3Atrue%2C"UseMinerTweaks"%3Afalse%2C"Wallets"%3A{"BTC"%3A"1GPSq8txFnyrYdXL8t6S94mYdF8cGqVQJF"%2C"ETC"%3A""%2C"ETH"%3A""}%2C"Watchdog"%3Atrue%2C"WatchdogCount"%3A3%2C"WebGUI"%3Atrue%2C"UseColorForMinerStatus"%3Atrue%2C"WorkerName"%3A"BLACKBOX"} +
e.g.: /functions/config/set?{"Algorithm"%3A%5B%5D%2C"APILogfile"%3A""%2C"APIPort"%3A3999%2C"AutoReboot"%3Atrue%2C"AutoUpdate"%3Atrue%2C"AutoUpdateCheckInterval"%3A1%2C"BackupOnAutoUpdate"%3Atrue%2C"BadShareRatioThreshold"%3A0.05%2C"BalancesKeepAlive"%3Atrue%2C"BalancesShowInAllCurrencies"%3Atrue%2C"BalancesTrackerExcludePool"%3A%5B%5D%2C"BalancesTrackerLog"%3Afalse%2C"BalancesTrackerPollInterval"%3A10%2C"CalculatePowerCost"%3Atrue%2C"ConfigFileVersion"%3A"4.3.3.2"%2C"CPUMinerProcessPriority"%3A-2%2C"Currency"%3A"CHF"%2C"DecimalsMax"%3A6%2C"Delay"%3A0%2C"DisableDualAlgoMining"%3Afalse%2C"DisableMinerFee"%3Afalse%2C"DisableMinersWithFee"%3Afalse%2C"DisableSingleAlgoMining"%3Afalse%2C"Donate"%3A13%2C"EarningsAdjustmentFactor"%3A1%2C"ExcludeDeviceName"%3A%5B%5D%2C"ExcludeMinerName"%3A%5B%5D%2C"ExtraCurrencies"%3A%5B"ETC"%2C"ETH"%2C"mBTC"%5D%2C"GPUMinerProcessPriority"%3A-1%2C"IdleDetection"%3Afalse%2C"IdleSec"%3A120%2C"IgnoreMinerFee"%3Afalse%2C"IgnorePoolFee"%3Afalse%2C"IgnorePowerCost"%3Afalse%2C"Interval"%3A90%2C"LogBalanceAPIResponse"%3Afalse%2C"LogToFile"%3A%5B"Info"%2C"Warn"%2C"Error"%2C"Verbose"%5D%2C"LogToScreen"%3A%5B"Info"%2C"Warn"%2C"Error"%2C"Verbose"%5D%2C"MinAccuracy"%3A0.5%2C"MinDataSample"%3A20%2C"MinDataSampleAlgoMultiplier"%3A{"X16r"%3A3}%2C"MinerInstancePerDeviceModel"%3Afalse%2C"MinerSet"%3A1%2C"MinerSwitchingThreshold"%3A10%2C"MinerWindowStyle"%3A"minimized"%2C"MinerWindowStyleNormalWhenBenchmarking"%3Atrue%2C"MiningPoolHubAPIKey"%3A""%2C"MiningPoolHubUserName"%3A"Nemo"%2C"MinInterval"%3A1%2C"MinWorker"%3A25%2C"MonitoringServer"%3A"https%3A%2F%2Fnemosminer.com"%2C"MonitoringUser"%3A""%2C"NiceHashAPIKey"%3A""%2C"NiceHashAPISecret"%3A""%2C"NiceHashOrganizationId"%3A""%2C"NiceHashWallet"%3A""%2C"NiceHashWalletIsInternal"%3Afalse%2C"OpenFirewallPorts"%3Atrue%2C"PayoutCurrency"%3A"BTC"%2C"PoolAPIAllowedFailureCount"%3A3%2C"PoolAPIRetryInterval"%3A3%2C"PoolAPITimeout"%3A20%2C"PoolName"%3A%5B"MiningPoolHubCoins"%2C"NiceHash"%5D%2C"PoolsConfigFile"%3A".%5C%5CConfig%5C%5CPoolsConfig.json"%2C"PoolTimeout"%3A20%2C"PowerPricekWh"%3A{"00%3A00"%3A0.26%2C"12%3A00"%3A0.3}%2C"PowerUsage"%3A{}%2C"PowerUsageIdleSystemW"%3A60%2C"ProfitabilityThreshold"%3A-99%2C"ProHashingAPIKey"%3A""%2C"ProHashingMiningMode"%3A"PPS"%2C"ProHashingUserName"%3A"UselessGuru"%2C"Proxy"%3A""%2C"Region"%3A"Europe"%2C"ReportToServer"%3Afalse%2C"ShowAccuracy"%3Atrue%2C"ShowAllMiners"%3Afalse%2C"ShowChangeLog"%3Afalse%2C"ShowCoinName"%3Atrue%2C"ShowCurrency"%3Atrue%2C"ShowEarning"%3Atrue%2C"ShowEarningBias"%3Atrue%2C"ShowMinerFee"%3Atrue%2C"ShowPoolBalances"%3Afalse%2C"ShowPoolFee"%3Atrue%2C"ShowPowerCost"%3Atrue%2C"ShowPowerUsage"%3Atrue%2C"ShowProfit"%3Atrue%2C"ShowProfitBias"%3Atrue%2C"ShowUser"%3Afalse%2C"ShowWorkerStatus"%3Atrue%2C"SnakeTailConfig"%3A".%5C%5CUtils%5C%5CNemosMiner_LogReader.xml"%2C"SnakeTailExe"%3A".%5C%5CUtils%5C%5CSnakeTail.exe"%2C"SSL"%3A"prefer"%2C"StartGUIMinimized"%3Atrue%2C"StartupMode"%3A"Idle"%2C"SubtractBadShares"%3Atrue%2C"SyncWindow"%3A3%2C"Transcript"%3Afalse%2C"UIStyle"%3A"light"%2C"UnrealMinerEarningFactor"%3A5%2C"UnrealPoolPriceFactor"%3A1.5%2C"UseAnycast"%3Atrue%2C"UsemBTC"%3Atrue%2C"UseMinerTweaks"%3Afalse%2C"Wallets"%3A{"BTC"%3A"1GPSq8txFnyrYdXL8t6S94mYdF8cGqVQJF"%2C"ETC"%3A""%2C"ETH"%3A""}%2C"Watchdog"%3Atrue%2C"WatchdogCount"%3A3%2C"WebGUI"%3Atrue%2C"UseColorForMinerStatus"%3Atrue%2C"WorkerName"%3A"BLACKBOX"}

/functions/file/edit diff --git a/Web/scripts/demo.ps1 b/Web/scripts/demo.ps1 index 89a29186f6..82d1aecd75 100644 --- a/Web/scripts/demo.ps1 +++ b/Web/scripts/demo.ps1 @@ -18,7 +18,7 @@ along with this program. If not, see . <# Product: NemosMiner File: demo.psm1 -Version: 4.3.3.1 +Version: 4.3.3.2 Version date: 20 October 2022 #> diff --git a/Web/scripts/stopapi.ps1 b/Web/scripts/stopapi.ps1 index 1283d16b8b..07add640f5 100644 --- a/Web/scripts/stopapi.ps1 +++ b/Web/scripts/stopapi.ps1 @@ -18,7 +18,7 @@ along with this program. If not, see . <# Product: NemosMiner File: demo.psm1 -Version: 4.3.3.1 +Version: 4.3.3.2 Version date: 20 October 2022 #>