From 54da476f687938a82ee2f7b335ce3891fb17e26f Mon Sep 17 00:00:00 2001 From: Useless Guru <30080938+UselessGuru@users.noreply.github.com> Date: Tue, 13 Aug 2024 20:08:34 +0200 Subject: [PATCH] v6.2.25 Enhancements: - Core: Remove obsolete code & minor code optimizations Fixed: - Pool 'Miningdutch': Payout threshold 1000x too low --- Balances/HashCryptos.ps1 | 4 +- Balances/HiveON.ps1 | 4 +- Balances/MiningDutch.ps1 | 4 +- Balances/MiningPoolHub.ps1 | 4 +- Balances/NiceHash External.ps1 | 4 +- Balances/NiceHash Internal.ps1 | 4 +- Balances/ProHashing.ps1 | 4 +- Balances/ZergPool.ps1 | 4 +- Balances/Zpool.ps1 | 4 +- Brains/HashCryptos.ps1 | 4 +- Brains/MiningDutch.ps1 | 4 +- Brains/ProHashing.ps1 | 4 +- Brains/ZPool.ps1 | 4 +- Brains/ZergPool.ps1 | 4 +- Data/DagData.json | 340 ++++++++++----------- Includes/APIServer.psm1 | 4 +- Includes/BalancesTracker.ps1 | 4 +- Includes/Core.ps1 | 41 +-- Includes/Downloader.ps1 | 4 +- Includes/Include.psm1 | 113 +++---- Includes/LegacyGUI.ps1 | 14 +- Includes/MinerAPIs/BzMiner.ps1 | 4 +- Includes/MinerAPIs/Ccminer.ps1 | 4 +- Includes/MinerAPIs/EthMiner.ps1 | 4 +- Includes/MinerAPIs/FireIce.ps1 | 4 +- Includes/MinerAPIs/Gminer.ps1 | 4 +- Includes/MinerAPIs/HellMiner.ps1 | 4 +- Includes/MinerAPIs/MiniZ.ps1 | 4 +- Includes/MinerAPIs/NBMiner.ps1 | 4 +- Includes/MinerAPIs/NanoMiner.ps1 | 4 +- Includes/MinerAPIs/OneZero.ps1 | 4 +- Includes/MinerAPIs/Rigel.ps1 | 4 +- Includes/MinerAPIs/SRBMiner.ps1 | 4 +- Includes/MinerAPIs/TeamBlackMiner.ps1 | 4 +- Includes/MinerAPIs/Trex.ps1 | 4 +- Includes/MinerAPIs/Xgminer.ps1 | 4 +- Includes/MinerAPIs/XmRig.ps1 | 4 +- Includes/MinerAPIs/lolMiner.ps1 | 4 +- Miners/BzMiner-v21.4.0.ps1 | 4 +- Miners/CcminerAlexis78-v1.5.2.ps1 | 4 +- Miners/CcminerDyn-v1.0.2.ps1 | 4 +- Miners/CcminerKlausT-v8.25.ps1 | 4 +- Miners/CcminerKlausT-v8.26x2.ps1 | 4 +- Miners/CcminerLyra2z330-v8.21r9.ps1 | 4 +- Miners/CcminerLyraYesscrypt-v8.21r18v5.ps1 | 4 +- Miners/CcminerMemeHash-v2.5.5.9.ps1 | 4 +- Miners/CcminerNeoscryptXaya-v0.2.ps1 | 4 +- Miners/CcminerVerusCpu-v3.8.3.ps1 | 4 +- Miners/CcminerVerusGpu-v3.8.3.ps1 | 4 +- Miners/ClaymoreNeoscrypt-v1.2.ps1 | 4 +- Miners/CpuMiner-v1.4.ps1 | 4 +- Miners/CpuMinerAurum-v3.23.1.ps1 | 4 +- Miners/CryptoDredge-v0.16.0.ps1 | 4 +- Miners/CryptoDredge-v0.27.0.ps1 | 4 +- Miners/EthMiner-v0.19.0.18.ps1 | 4 +- Miners/EvrProgPow-v1p3p0.ps1 | 4 +- Miners/FrkHashMiner-v1.3.14.ps1 | 4 +- Miners/GMiner-v2.75.ps1 | 4 +- Miners/GMiner-v3.44.ps1 | 4 +- Miners/HellMiner-v0.59.1.ps1 | 4 +- Miners/JayddeeCpu-v24.4.ps1 | 4 +- Miners/KawpowMiner-v1.2.4cl.ps1 | 4 +- Miners/KawpowMiner-v1.2.4cuda.ps1 | 4 +- Miners/Kudaraidee-v1.2.0a.ps1 | 4 +- Miners/MeowPowMiner-v2.0.0cl.ps1 | 4 +- Miners/MeowPowMiner-v2.0.0cuda.ps1 | 4 +- Miners/MiniZ-v2.4d.ps1 | 4 +- Miners/NBMiner-v42.3.ps1 | 4 +- Miners/NSFMiner-v1.3.14.ps1 | 4 +- Miners/NanoMiner-v3.9.2.ps1 | 4 +- Miners/Ninjarig-1.0.3.ps1 | 4 +- Miners/NosuchCpu-v3.8.8.1.ps1 | 4 +- Miners/OneZeroMiner-v1.3.7.ps1 | 4 +- Miners/PhoenixMiner-v6.2c.ps1 | 4 +- Miners/Radiator-v1.0.0.ps1 | 4 +- Miners/Raptor3umCpu-v2.0.ps1 | 4 +- Miners/Rigel-v1.18.1.ps1 | 4 +- Miners/RplantCpu-v5.0.41.ps1 | 4 +- Miners/RrkzCpu-v4.2.ps1 | 4 +- Miners/SCCminer-v1.1.0.ps1 | 4 +- Miners/SRBMinerMulti-v0.9.4.ps1 | 4 +- Miners/SRBMinerMulti-v2.6.1.ps1 | 6 +- Miners/SgMinerFancyIX-v0.9.4.ps1 | 4 +- Miners/Suprminer-v2.31v2.ps1 | 4 +- Miners/TTMiner-v2024.3.2.ps1 | 4 +- Miners/TTMiner-v5.0.3.ps1 | 4 +- Miners/TeamBlackMiner-v2.25.ps1 | 4 +- Miners/TeamRedMiner-v0.10.21.ps1 | 4 +- Miners/Trex-v0.26.8.ps1 | 4 +- Miners/Wildrig-v0.40.8.ps1 | 4 +- Miners/XLArig-v5.2.4.ps1 | 4 +- Miners/XmRig-v6.21.3.15.ps1 | 4 +- Miners/XmrStak-v2.10.8.ps1 | 4 +- Miners/ZealotEnemy-v2.6.3.ps1 | 4 +- Miners/lolMiner-v1.88.ps1 | 4 +- Pools/HashCryptos.ps1 | 4 +- Pools/HiveON.ps1 | 4 +- Pools/MiningDutch.ps1 | 4 +- Pools/MiningPoolHub.ps1 | 4 +- Pools/NiceHash.ps1 | 4 +- Pools/ProHashing.ps1 | 4 +- Pools/ZPool.ps1 | 4 +- Pools/ZergPool.ps1 | 4 +- UG-Miner.ps1 | 34 ++- Utils/UG-Miner_LogReader.xml | 8 +- Version.txt | 2 +- Web/scripts/demo.ps1 | 4 +- 107 files changed, 477 insertions(+), 477 deletions(-) diff --git a/Balances/HashCryptos.ps1 b/Balances/HashCryptos.ps1 index 448a6669..1f026993 100644 --- a/Balances/HashCryptos.ps1 +++ b/Balances/HashCryptos.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Balances\HashCryptos.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> $Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName diff --git a/Balances/HiveON.ps1 b/Balances/HiveON.ps1 index 85645d91..3132dbd3 100644 --- a/Balances/HiveON.ps1 +++ b/Balances/HiveON.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Balances\Hiveon.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> $Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName diff --git a/Balances/MiningDutch.ps1 b/Balances/MiningDutch.ps1 index e734ffe3..bd11ee61 100644 --- a/Balances/MiningDutch.ps1 +++ b/Balances/MiningDutch.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Balances\MiningDutch.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> $Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName diff --git a/Balances/MiningPoolHub.ps1 b/Balances/MiningPoolHub.ps1 index ba8b9ecb..c42889c7 100644 --- a/Balances/MiningPoolHub.ps1 +++ b/Balances/MiningPoolHub.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Balances\MiningPoolHub.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> $Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName diff --git a/Balances/NiceHash External.ps1 b/Balances/NiceHash External.ps1 index c27f6ba2..62937a7e 100644 --- a/Balances/NiceHash External.ps1 +++ b/Balances/NiceHash External.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Balances\NiceHash Internal.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> $Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName diff --git a/Balances/NiceHash Internal.ps1 b/Balances/NiceHash Internal.ps1 index b569c1c0..eb5f507c 100644 --- a/Balances/NiceHash Internal.ps1 +++ b/Balances/NiceHash Internal.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Balances\NiceHash Internal.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> $Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName diff --git a/Balances/ProHashing.ps1 b/Balances/ProHashing.ps1 index 48610485..e005558c 100644 --- a/Balances/ProHashing.ps1 +++ b/Balances/ProHashing.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Balances\ProHashing.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> $Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName diff --git a/Balances/ZergPool.ps1 b/Balances/ZergPool.ps1 index fd7f4df8..d8b35098 100644 --- a/Balances/ZergPool.ps1 +++ b/Balances/ZergPool.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Balances\ZergPool.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> $Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName diff --git a/Balances/Zpool.ps1 b/Balances/Zpool.ps1 index 3d3bc3f6..9b8b8ae1 100644 --- a/Balances/Zpool.ps1 +++ b/Balances/Zpool.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Balances\Zpool.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> $Name = [String](Get-Item $MyInvocation.MyCommand.Path).BaseName diff --git a/Brains/HashCryptos.ps1 b/Brains/HashCryptos.ps1 index 81e352a7..d3cd9084 100644 --- a/Brains/HashCryptos.ps1 +++ b/Brains/HashCryptos.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Brains\MiningDutch.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> using module ..\Includes\Include.psm1 diff --git a/Brains/MiningDutch.ps1 b/Brains/MiningDutch.ps1 index a358fec3..4e104f8b 100644 --- a/Brains/MiningDutch.ps1 +++ b/Brains/MiningDutch.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Brains\MiningDutch.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> using module ..\Includes\Include.psm1 diff --git a/Brains/ProHashing.ps1 b/Brains/ProHashing.ps1 index dc2c4707..413a5802 100644 --- a/Brains/ProHashing.ps1 +++ b/Brains/ProHashing.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Brains\ProHashing.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> using module ..\Includes\Include.psm1 diff --git a/Brains/ZPool.ps1 b/Brains/ZPool.ps1 index 9c1d7b4c..1b8adac2 100644 --- a/Brains/ZPool.ps1 +++ b/Brains/ZPool.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Brains\ZPool.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> using module ..\Includes\Include.psm1 diff --git a/Brains/ZergPool.ps1 b/Brains/ZergPool.ps1 index f9033e54..6eb7ceb2 100644 --- a/Brains/ZergPool.ps1 +++ b/Brains/ZergPool.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Brains\ZergPool.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> using module ..\Includes\Include.psm1 diff --git a/Data/DagData.json b/Data/DagData.json index 35dd234f..7e86f192 100644 --- a/Data/DagData.json +++ b/Data/DagData.json @@ -1,15 +1,15 @@ { "Algorithm": { "Autolykos2": { - "BlockHeight": 1327087, + "BlockHeight": 1329258, "CoinName": [ "ERG" ], "DAGsize": 4118968140, - "Epoch": 890 + "Epoch": 893 }, "EtcHash": { - "BlockHeight": 20460509, + "BlockHeight": 20480495, "CoinName": [ "ETC" ], @@ -17,7 +17,7 @@ "Epoch": 343 }, "Ethash": { - "BlockHeight": 20043330, + "BlockHeight": 20063587, "CoinName": [ "ETHW" ], @@ -25,15 +25,15 @@ "Epoch": 670 }, "EthashB3": { - "BlockHeight": 3831651, + "BlockHeight": 3862472, "CoinName": [ "HYP" ], - "DAGsize": 2155872128, - "Epoch": 129 + "DAGsize": 2164257664, + "Epoch": 130 }, "EvrProgPow": { - "BlockHeight": 929289, + "BlockHeight": 933714, "CoinName": [ "EVR" ], @@ -41,15 +41,15 @@ "Epoch": 79 }, "FiroPow": { - "BlockHeight": 937468, + "BlockHeight": 939272, "CoinName": [ "FIRO" ], - "DAGsize": 7138699648, - "Epoch": 723 + "DAGsize": 7147092352, + "Epoch": 724 }, "FishHash": { - "BlockHeight": 690945, + "BlockHeight": 695428, "CoinName": [ "IRON" ], @@ -57,12 +57,12 @@ "Epoch": 448 }, "KawPow": { - "BlockHeight": 3447763, + "BlockHeight": 3452197, "CoinName": [ "RVN" ], - "DAGsize": 4940889728, - "Epoch": 461 + "DAGsize": 4949276032, + "Epoch": 462 }, "MeowPow": { "BlockHeight": 971453, @@ -73,15 +73,15 @@ "Epoch": 131 }, "Octopus": { - "BlockHeight": 102177835, + "BlockHeight": 102391996, "CoinName": [ "CFX" ], - "DAGsize": 7583300864, - "Epoch": 196 + "DAGsize": 7600072448, + "Epoch": 197 }, "ProgPowSero": { - "BlockHeight": 13201569, + "BlockHeight": 13222166, "CoinName": [ "SERO" ], @@ -89,15 +89,15 @@ "Epoch": 442 }, "ProgPowZ": { - "BlockHeight": 2759298, + "BlockHeight": 2763723, "CoinName": [ "ZANO" ], - "DAGsize": 1853879936, - "Epoch": 93 + "DAGsize": 1862269312, + "Epoch": 94 }, "SCCpow": { - "BlockHeight": 962764, + "BlockHeight": 965007, "CoinName": [ "SCC" ], @@ -115,44 +115,44 @@ }, "Currency": { "*": { - "BlockHeight": 102177835, + "BlockHeight": 102391996, "CoinName": "*", - "DAGsize": 7583300864, - "Epoch": 890 + "DAGsize": 7600072448, + "Epoch": 893 }, "AIDP": { "Algorithm": "KawPow", - "BlockHeight": 151867, + "BlockHeight": 156233, "CoinName": "AiDepin", "DAGsize": 1258290304, - "Date": "2024-08-10T12:48:47.1576682Z", + "Date": "2024-08-13T15:07:08.4569291Z", "Epoch": 22, "Url": "https://whattomine.com/coins.json" }, "AIPG": { "Algorithm": "KawPow", - "BlockHeight": 350765, + "BlockHeight": 355200, "CoinName": "Aipowergrid", - "DAGsize": 1476394112, - "Date": "2024-08-10T12:48:32.1460734Z", - "Epoch": 48, - "Url": "https://zergpool.com/api/currencies" + "DAGsize": 1484782976, + "Date": "2024-08-13T15:07:08.6427459Z", + "Epoch": 49, + "Url": "https://whattomine.com/coins.json" }, "AITT": { "Algorithm": "KawPow", - "BlockHeight": 920505, + "BlockHeight": 938132, "CoinName": "AittCoin", - "DAGsize": 2113928576, - "Date": "2024-08-10T12:48:32.1499208Z", - "Epoch": 124, - "Url": "https://zergpool.com/api/currencies" + "DAGsize": 2139092608, + "Date": "2024-08-13T15:07:08.6603527Z", + "Epoch": 127, + "Url": "https://whattomine.com/coins.json" }, "AKA": { "Algorithm": "Ethash", "BlockHeight": 11735607, "CoinName": "AKA", "DAGsize": 4370458496, - "Date": "2024-08-10T12:48:47.3629954Z", + "Date": "2024-08-13T15:07:08.8361749Z", "Epoch": 393, "Url": "https://minerstat.com/dag-size-calculator" }, @@ -167,47 +167,47 @@ }, "ANOK": { "Algorithm": "KawPow", - "BlockHeight": 187523, + "BlockHeight": 191437, "CoinName": "Anokas", "DAGsize": 1300234112, - "Date": "2024-08-10T12:48:32.1532393Z", + "Date": "2024-08-13T15:07:08.451655Z", "Epoch": 27, - "Url": "https://zergpool.com/api/currencies" + "Url": "https://whattomine.com/coins.json" }, "AVS": { "Algorithm": "Ethash", - "BlockHeight": 4106112, + "BlockHeight": 4126896, "CoinName": "Aves", - "DAGsize": 2231367808, - "Date": "2024-08-10T12:48:32.1714059Z", - "Epoch": 138, + "DAGsize": 2239758208, + "Date": "2024-08-13T15:07:08.2740344Z", + "Epoch": 139, "Url": "https://zergpool.com/api/currencies" }, "BTN": { "Algorithm": "Ethash", - "BlockHeight": 2640191, + "BlockHeight": 2661023, "CoinName": "Bitnetmoney", "DAGsize": 1828711552, - "Date": "2024-08-10T12:48:32.2142147Z", + "Date": "2024-08-13T15:07:08.6653054Z", "Epoch": 90, - "Url": "https://zergpool.com/api/currencies" + "Url": "https://whattomine.com/coins.json" }, "CAU": { "Algorithm": "Ethash", - "BlockHeight": 4800055, + "BlockHeight": 4840867, "CoinName": "Canxium", - "DAGsize": 2432695424, - "Date": "2024-08-10T12:04:48.1795338Z", - "Epoch": 162, + "DAGsize": 2441084288, + "Date": "2024-08-13T15:07:08.8562298Z", + "Epoch": 163, "Url": "https://minerstat.com/dag-size-calculator" }, "CFX": { "Algorithm": "Octopus", - "BlockHeight": 102177835, + "BlockHeight": 102391996, "CoinName": "Conflux", - "DAGsize": 7583300864, - "Date": "2024-08-10T12:48:48.5990352Z", - "Epoch": 196, + "DAGsize": 7600072448, + "Date": "2024-08-13T15:07:10.4287274Z", + "Epoch": 197, "Url": "https://prohashing.com/api/v1/currencies" }, "CLO": { @@ -221,55 +221,55 @@ }, "CLORE": { "Algorithm": "KawPow", - "BlockHeight": 872644, + "BlockHeight": 877074, "CoinName": "Clore", "DAGsize": 2063596672, - "Date": "2024-08-10T12:48:47.1329637Z", + "Date": "2024-08-13T15:07:08.6261696Z", "Epoch": 118, "Url": "https://whattomine.com/coins.json" }, "CMS": { "Algorithm": "KawPow", - "BlockHeight": 178490, + "BlockHeight": 181369, "CoinName": "Cmusicai", - "DAGsize": 1283453312, - "Date": "2024-08-10T12:48:32.2409251Z", - "Epoch": 25, + "DAGsize": 1291844992, + "Date": "2024-08-13T12:45:35.9181583Z", + "Epoch": 26, "Url": "https://zergpool.com/api/currencies" }, "DINT": { "Algorithm": "KawPow", - "BlockHeight": 354975, + "BlockHeight": 359180, "CoinName": "Dinartether", "DAGsize": 1484782976, - "Date": "2024-08-10T12:48:32.2642139Z", + "Date": "2024-08-13T15:07:08.3420438Z", "Epoch": 49, "Url": "https://zergpool.com/api/currencies" }, "DOGETHER": { "Algorithm": "Ethash", - "BlockHeight": 1161549, + "BlockHeight": 1176506, "CoinName": "Dogether", - "DAGsize": 1409284736, - "Date": "2024-08-10T12:48:47.2032065Z", - "Epoch": 40, + "DAGsize": 1417673344, + "Date": "2024-08-13T15:07:08.6749283Z", + "Epoch": 41, "Url": "https://whattomine.com/coins.json" }, "EGAZ": { "Algorithm": "EtcHash", - "BlockHeight": 5667332, + "BlockHeight": 5688065, "CoinName": "Etica", - "DAGsize": 2667574912, - "Date": "2024-08-10T12:48:47.1950264Z", - "Epoch": 190, + "DAGsize": 2675965312, + "Date": "2024-08-13T15:07:08.6720488Z", + "Epoch": 191, "Url": "https://whattomine.com/coins.json" }, "EGEM": { "Algorithm": "Ethash", - "BlockHeight": 16171642, + "BlockHeight": 16189186, "CoinName": "Ethergem", "DAGsize": 5611972736, - "Date": "2024-08-10T12:48:47.208414Z", + "Date": "2024-08-13T15:07:08.6862961Z", "Epoch": 541, "Url": "https://whattomine.com/coins.json" }, @@ -284,11 +284,11 @@ }, "ERG": { "Algorithm": "Autolykos2", - "BlockHeight": 1327087, + "BlockHeight": 1329258, "CoinName": "Ergo", "DAGsize": 4118968140, - "Date": "2024-08-10T12:48:48.5954415Z", - "Epoch": 890, + "Date": "2024-08-13T15:07:10.4248812Z", + "Epoch": 893, "Url": "https://prohashing.com/api/v1/currencies" }, "ESN": { @@ -296,16 +296,16 @@ "BlockHeight": 6408009, "CoinName": "Ethersocial", "DAGsize": 2877286784, - "Date": "2024-08-10T12:48:47.3693313Z", + "Date": "2024-08-13T15:07:08.8482181Z", "Epoch": 215, "Url": "https://minerstat.com/dag-size-calculator" }, "ETC": { "Algorithm": "EtcHash", - "BlockHeight": 20460509, + "BlockHeight": 20480495, "CoinName": "EthereumClassic", "DAGsize": 3951032192, - "Date": "2024-08-10T12:48:47.1975256Z", + "Date": "2024-08-13T15:07:08.6700245Z", "Epoch": 343, "Url": "https://whattomine.com/coins.json" }, @@ -329,10 +329,10 @@ }, "ETHW": { "Algorithm": "Ethash", - "BlockHeight": 20043330, + "BlockHeight": 20063587, "CoinName": "EthereumPow", "DAGsize": 6694107776, - "Date": "2024-08-10T12:48:47.1925443Z", + "Date": "2024-08-13T15:07:08.6676434Z", "Epoch": 670, "Url": "https://whattomine.com/coins.json" }, @@ -347,21 +347,21 @@ }, "ETP": { "Algorithm": "Ethash", - "BlockHeight": 9827028, + "BlockHeight": 9839744, "CoinName": "Metaverse", "DAGsize": 3833592704, - "Date": "2024-08-10T12:04:48.1627844Z", + "Date": "2024-08-13T15:07:08.8391749Z", "Epoch": 329, "Url": "https://minerstat.com/dag-size-calculator" }, "EVR": { "Algorithm": "EvrProgPow", - "BlockHeight": 929289, + "BlockHeight": 933714, "CoinName": "Evrmore", "DAGsize": 3883920512, - "Date": "2024-08-10T12:48:32.2870748Z", + "Date": "2024-08-13T15:07:08.4542534Z", "Epoch": 79, - "Url": "https://zergpool.com/api/currencies" + "Url": "https://whattomine.com/coins.json" }, "EXP": { "Algorithm": "Ethash", @@ -374,11 +374,11 @@ }, "FIRO": { "Algorithm": "FiroPow", - "BlockHeight": 937468, + "BlockHeight": 939272, "CoinName": "Firo", - "DAGsize": 7138699648, - "Date": "2024-08-10T12:48:47.1407022Z", - "Epoch": 723, + "DAGsize": 7147092352, + "Date": "2024-08-13T15:07:08.6287513Z", + "Epoch": 724, "Url": "https://whattomine.com/coins.json" }, "FLORA": { @@ -386,25 +386,25 @@ "BlockHeight": 789635, "CoinName": "", "DAGsize": 1308619904, - "Date": "2024-08-10T12:48:47.3881919Z", + "Date": "2024-08-13T15:07:08.879559Z", "Epoch": 28, "Url": "https://minerstat.com/dag-size-calculator" }, "FREN": { "Algorithm": "KawPow", - "BlockHeight": 1316166, + "BlockHeight": 1325020, "CoinName": "FrenCoin", - "DAGsize": 2558525056, - "Date": "2024-08-10T12:48:47.1838233Z", - "Epoch": 177, + "DAGsize": 2566913408, + "Date": "2024-08-13T15:07:08.6510455Z", + "Epoch": 178, "Url": "https://whattomine.com/coins.json" }, "GPN": { "Algorithm": "KawPow", - "BlockHeight": 670318, + "BlockHeight": 674716, "CoinName": "Gamepass", "DAGsize": 1837102976, - "Date": "2024-08-10T12:48:32.3432237Z", + "Date": "2024-08-13T15:07:08.4181328Z", "Epoch": 91, "Url": "https://zergpool.com/api/currencies" }, @@ -419,37 +419,37 @@ }, "HYP": { "Algorithm": "EthashB3", - "BlockHeight": 3831651, + "BlockHeight": 3862472, "CoinName": "Hypra", - "DAGsize": 2155872128, - "Date": "2024-08-10T12:48:32.3634582Z", - "Epoch": 129, + "DAGsize": 2164257664, + "Date": "2024-08-13T15:07:08.4487343Z", + "Epoch": 130, "Url": "https://zergpool.com/api/currencies" }, "IRON": { "Algorithm": "FishHash", - "BlockHeight": 690945, + "BlockHeight": 695428, "CoinName": "Ironfish", "DAGsize": 4831838208, - "Date": "2024-08-10T12:48:47.1454598Z", + "Date": "2024-08-13T15:07:08.6309334Z", "Epoch": 448, "Url": "https://whattomine.com/coins.json" }, "KIIRO": { "Algorithm": "FiroPow", - "BlockHeight": 222574, + "BlockHeight": 224173, "CoinName": "KiiroCoin", - "DAGsize": 2524970368, - "Date": "2024-08-10T12:48:47.1785778Z", - "Epoch": 173, + "DAGsize": 2533359232, + "Date": "2024-08-13T15:07:08.6530195Z", + "Epoch": 174, "Url": "https://whattomine.com/coins.json" }, "LRS": { "Algorithm": "Ethash", - "BlockHeight": 1410823, + "BlockHeight": 1431549, "CoinName": "Larissa", "DAGsize": 1484782976, - "Date": "2024-08-10T12:48:47.1900662Z", + "Date": "2024-08-13T15:07:08.6775613Z", "Epoch": 49, "Url": "https://whattomine.com/coins.json" }, @@ -473,38 +473,38 @@ }, "MOAC": { "Algorithm": "Ethash", - "BlockHeight": 14071810, + "BlockHeight": 14092493, "CoinName": "", "DAGsize": 5024763776, - "Date": "2024-08-10T12:04:48.1561649Z", + "Date": "2024-08-13T15:07:08.8326508Z", "Epoch": 471, "Url": "https://minerstat.com/dag-size-calculator" }, "NEOX": { "Algorithm": "KawPow", - "BlockHeight": 1165866, + "BlockHeight": 1170286, "CoinName": "Neoxa", - "DAGsize": 2390748544, - "Date": "2024-08-10T12:48:47.1355772Z", - "Epoch": 157, + "DAGsize": 2399139968, + "Date": "2024-08-13T15:07:08.6238704Z", + "Epoch": 158, "Url": "https://whattomine.com/coins.json" }, "NILU": { "Algorithm": "Ethash", - "BlockHeight": 6244747, + "BlockHeight": 6244754, "CoinName": "", "DAGsize": 2835349376, - "Date": "2024-08-10T12:48:47.3706861Z", + "Date": "2024-08-13T15:07:08.8496336Z", "Epoch": 210, "Url": "https://minerstat.com/dag-size-calculator" }, "NIR": { "Algorithm": "ProgPowZ", - "BlockHeight": 593457, + "BlockHeight": 602222, "CoinName": "Nirmata", - "DAGsize": 1249902464, - "Date": "2024-08-10T12:48:47.1472817Z", - "Epoch": 21, + "DAGsize": 1258290304, + "Date": "2024-08-13T15:07:08.6489702Z", + "Epoch": 22, "Url": "https://whattomine.com/coins.json" }, "NUKO": { @@ -512,26 +512,26 @@ "BlockHeight": 8848535, "CoinName": "", "DAGsize": 3556763264, - "Date": "2024-08-10T12:48:47.3664922Z", + "Date": "2024-08-13T15:07:08.8453864Z", "Epoch": 296, "Url": "https://minerstat.com/dag-size-calculator" }, "OCTA": { "Algorithm": "Ethash", - "BlockHeight": 5229640, + "BlockHeight": 5250273, "CoinName": "Octaspace", - "DAGsize": 2550134144, - "Date": "2024-08-10T12:48:47.2011382Z", - "Epoch": 176, - "Url": "https://whattomine.com/coins.json" + "DAGsize": 2558525056, + "Date": "2024-08-13T15:07:08.6470429Z", + "Epoch": 177, + "Url": "https://zergpool.com/api/currencies" }, "PAPRY": { "Algorithm": "KawPow", - "BlockHeight": 770107, + "BlockHeight": 774431, "CoinName": "Paprika", - "DAGsize": 1946156672, - "Date": "2024-08-10T12:48:32.4405261Z", - "Epoch": 104, + "DAGsize": 1954543232, + "Date": "2024-08-13T15:07:08.6722588Z", + "Epoch": 105, "Url": "https://zergpool.com/api/currencies" }, "PGC": { @@ -545,28 +545,28 @@ }, "PRCO": { "Algorithm": "KawPow", - "BlockHeight": 1135260, + "BlockHeight": 1139693, "CoinName": "ProcyonCoin", "DAGsize": 2357196416, - "Date": "2024-08-10T12:48:32.4524607Z", + "Date": "2024-08-13T15:07:08.6868312Z", "Epoch": 153, "Url": "https://zergpool.com/api/currencies" }, "QKC": { "Algorithm": "Ethash", - "BlockHeight": 16998193, + "BlockHeight": 17025408, "CoinName": "Quarkchain", - "DAGsize": 5838468992, - "Date": "2024-08-10T12:48:47.2053589Z", - "Epoch": 568, + "DAGsize": 5846855552, + "Date": "2024-08-13T15:07:08.6834034Z", + "Epoch": 569, "Url": "https://whattomine.com/coins.json" }, "REDEV2": { "Algorithm": "Ethash", - "BlockHeight": 2760671, + "BlockHeight": 2781641, "CoinName": "Redev2", "DAGsize": 1862269312, - "Date": "2024-08-10T12:48:32.4628311Z", + "Date": "2024-08-13T15:07:08.6975684Z", "Epoch": 94, "Url": "https://zergpool.com/api/currencies" }, @@ -581,37 +581,37 @@ }, "RVN": { "Algorithm": "KawPow", - "BlockHeight": 3447763, + "BlockHeight": 3452197, "CoinName": "RavenCoin", - "DAGsize": 4940889728, - "Date": "2024-08-10T12:48:48.5973202Z", - "Epoch": 461, + "DAGsize": 4949276032, + "Date": "2024-08-13T15:07:10.426837Z", + "Epoch": 462, "Url": "https://prohashing.com/api/v1/currencies" }, "SATOX": { "Algorithm": "KawPow", - "BlockHeight": 821186, + "BlockHeight": 825606, "CoinName": "Sato", - "DAGsize": 2004874624, - "Date": "2024-08-10T12:48:47.162275Z", - "Epoch": 111, + "DAGsize": 2013262208, + "Date": "2024-08-13T15:07:08.646271Z", + "Epoch": 112, "Url": "https://whattomine.com/coins.json" }, "SCC": { "Algorithm": "SCCpow", - "BlockHeight": 962764, + "BlockHeight": 965007, "CoinName": "Stakecube", "DAGsize": 3581934464, - "Date": "2024-08-10T12:48:48.6771125Z", + "Date": "2024-08-13T15:07:10.5160769Z", "Epoch": 299, "Url": "https://www.coinexplorer.net/api/v1/SCC/getblockcount" }, "SERO": { "Algorithm": "ProgPowSero", - "BlockHeight": 13201569, + "BlockHeight": 13222166, "CoinName": "Sero", "DAGsize": 4781504384, - "Date": "2024-08-10T12:48:47.160008Z", + "Date": "2024-08-13T15:07:08.6341318Z", "Epoch": 442, "Url": "https://whattomine.com/coins.json" }, @@ -629,27 +629,27 @@ "BlockHeight": 5517628, "CoinName": "Ubiq", "DAGsize": 2625631616, - "Date": "2024-08-10T12:48:47.3722678Z", + "Date": "2024-08-13T15:07:08.8512904Z", "Epoch": 185, "Url": "https://minerstat.com/dag-size-calculator" }, "VLC": { "Algorithm": "KawPow", - "BlockHeight": 235482, + "BlockHeight": 239321, "CoinName": "Vultaic", "DAGsize": 1350561664, - "Date": "2024-08-10T12:48:32.5479308Z", + "Date": "2024-08-13T15:07:08.7683496Z", "Epoch": 33, "Url": "https://zergpool.com/api/currencies" }, "XNA": { "Algorithm": "KawPow", - "BlockHeight": 686939, + "BlockHeight": 691354, "CoinName": "Neurai", - "DAGsize": 1853879936, - "Date": "2024-08-10T12:48:32.6935006Z", - "Epoch": 93, - "Url": "https://zergpool.com/api/currencies" + "DAGsize": 1862269312, + "Date": "2024-08-13T15:07:08.4760008Z", + "Epoch": 94, + "Url": "https://whattomine.com/coins.json" }, "XPB": { "Algorithm": "Ethash", @@ -662,21 +662,21 @@ }, "ZANO": { "Algorithm": "ProgPowZ", - "BlockHeight": 2759298, + "BlockHeight": 2763723, "CoinName": "Zano", - "DAGsize": 1853879936, - "Date": "2024-08-10T12:48:47.1249059Z", - "Epoch": 93, + "DAGsize": 1862269312, + "Date": "2024-08-13T15:07:08.4590173Z", + "Epoch": 94, "Url": "https://whattomine.com/coins.json" } }, "Updated": { "https://evr.cryptoscope.io/api/getblockcount": "2024-07-13T01:20:59.3256634Z", "https://mewc.cryptoscope.io/api/getblockcount": "2024-07-14T13:29:49.1181315Z", - "https://minerstat.com/dag-size-calculator": "2024-08-10T12:48:47.4015777Z", - "https://prohashing.com/api/v1/currencies": "2024-08-10T12:48:48.5994411Z", - "https://whattomine.com/coins.json": "2024-08-10T12:48:47.2105093Z", - "https://www.coinexplorer.net/api/v1/SCC/getblockcount": "2024-08-10T12:48:48.6774801Z", - "https://zergpool.com/api/currencies": "2024-08-10T12:48:32.6938554Z" + "https://minerstat.com/dag-size-calculator": "2024-08-13T15:07:08.8953466Z", + "https://prohashing.com/api/v1/currencies": "2024-08-13T15:07:10.4290683Z", + "https://whattomine.com/coins.json": "2024-08-13T15:07:08.6891708Z", + "https://www.coinexplorer.net/api/v1/SCC/getblockcount": "2024-08-13T15:07:10.5164278Z", + "https://zergpool.com/api/currencies": "2024-08-13T15:07:08.7686596Z" } } diff --git a/Includes/APIServer.psm1 b/Includes/APIServer.psm1 index 3e8f4bda..50443831 100644 --- a/Includes/APIServer.psm1 +++ b/Includes/APIServer.psm1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\APIServer.psm1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Function Start-APIServer { diff --git a/Includes/BalancesTracker.ps1 b/Includes/BalancesTracker.ps1 index afab70d0..56b8a16f 100644 --- a/Includes/BalancesTracker.ps1 +++ b/Includes/BalancesTracker.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\BalancesTracker.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> using module .\Include.psm1 diff --git a/Includes/Core.ps1 b/Includes/Core.ps1 index 603e893b..f26fac52 100644 --- a/Includes/Core.ps1 +++ b/Includes/Core.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: Core.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> using module .\Include.psm1 @@ -60,20 +60,20 @@ Do { $Variables.Devices.Where({ $Miner.DeviceNames -contains $_.Name }).ForEach({ $_.Status = $Miner.Status; $_.StatusInfo = $Miner.StatusInfo; $_.SubStatus = $Miner.SubStatus }) } Remove-Variable Miner -ErrorAction Ignore - + $Variables.Remove("EndCycleTime") - $Variables.Remove("Miners") - $Variables.Remove("MinersBenchmarkingOrMeasuring") - $Variables.Remove("MinersBest") - $Variables.Remove("MinersBestPerDevice") - $Variables.Remove("MinerDeviceNamesCombinations") - $Variables.Remove("MinersFailed") - $Variables.Remove("MinersMissingBinary") - $Variables.Remove("MissingMinerFirewallRule") - $Variables.Remove("MinersMissingPrerequisite") - $Variables.Remove("MinersOptimal") - $Variables.Remove("MinersRunning") + $Variables.Miners = [Miner[]]@() + $Variables.MinersBenchmarkingOrMeasuring = [Miner[]]@() + $Variables.MinersBest = [Miner[]]@() + $Variables.MinersBestPerDevice = [Miner[]]@() + $Variables.MinerDeviceNamesCombinations = [Miner[]]@() + $Variables.MinersFailed = [Miner[]]@() + $Variables.MinersMissingBinary = [Miner[]]@() + $Variables.MissingMinerFirewallRule = [Miner[]]@() + $Variables.MinersMissingPrerequisite = [Miner[]]@() + $Variables.MinersOptimal = [Miner[]]@() + $Variables.MinersRunning = [Miner[]]@() $Variables.Miners = [Miner[]]@() @@ -1555,14 +1555,5 @@ Do { $Variables.RestartCycle = $true - If ($Variables.NewMiningStatus -eq "Running" -and $Variables.IdleDetectionRunspace.MiningStatus -ne "Suspended") { Write-Message -Level Info "Ending cycle$($Variables.EndCycleMessage)." } -} While ($Variables.NewMiningStatus -eq "Running") - -# Stop all running miners -ForEach ($Miner in $Variables.Miners.Where({ [MinerStatus]::DryRun, [MinerStatus]::Running -contains $_.Status })) { - $Miner.SetStatus([MinerStatus]::Idle) - $Variables.Devices.Where({ $Miner.DeviceNames -contains $_.Name }).ForEach({ $_.Status = $Miner.Status; $_.StatusInfo = $Miner.StatusInfo; $_.SubStatus = $Miner.SubStatus }) -} -Remove-Variable Miner -ErrorAction Ignore - -If ($Variables.IdleDetectionRunspace.MiningStatus -ne "Suspended") { Write-Message -Level Info "Ending cycle$($Variables.EndCycleMessage)." } \ No newline at end of file + If ($Variables.NewMiningStatus -eq "Running") { Write-Message -Level Info "Ending cycle$($Variables.EndCycleMessage)." } +} While ($Variables.NewMiningStatus -eq "Running") \ No newline at end of file diff --git a/Includes/Downloader.ps1 b/Includes/Downloader.ps1 index 6dc8bd6a..ee897a4f 100644 --- a/Includes/Downloader.ps1 +++ b/Includes/Downloader.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\Downloader.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> using module .\Includes\Include.psm1 diff --git a/Includes/Include.psm1 b/Includes/Include.psm1 index 733ed0ba..d8c435b3 100644 --- a/Includes/Include.psm1 +++ b/Includes/Include.psm1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\include.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> $Global:DebugPreference = "SilentlyContinue" @@ -78,6 +78,7 @@ namespace PInvoke.Win32 { '@ # Registry key info +# Based on https://community.nexthink.com/s/question/0D52p00008n4ORKCA2/get-the-timestamp-of-any-path-or-key-in-the-registry $RegData = Add-Type -Name GetRegData -Namespace RegQueryInfoKey -Using System.Text -PassThru -MemberDefinition ' [DllImport("advapi32.dll", CharSet = CharSet.Auto)] @@ -710,9 +711,7 @@ Class Miner { Function Start-Core { - If (-not $Variables.CoreRunspace) { - - $Variables.CoreRunspace = @{ } + If (-not $Global:CoreRunspace) { $Variables.LastDonated = [DateTime]::Now.AddDays(-1).AddHours(1) @@ -720,30 +719,32 @@ Function Start-Core { $Variables.CycleStarts = @() - $Runspace = [RunspaceFactory]::CreateRunspace() - $Runspace.ApartmentState = "STA" - $Runspace.Name = "Core" - $Runspace.ThreadOptions = "ReuseThread" - $Runspace.Open() + $Global:CoreRunspace = [RunspaceFactory]::CreateRunspace() + $Global:CoreRunspace.ApartmentState = "STA" + $Global:CoreRunspace.Name = "Core" + $Global:CoreRunspace.ThreadOptions = "ReuseThread" + $Global:CoreRunspace.Open() - $Runspace.SessionStateProxy.SetVariable("Config", $Config) - $Runspace.SessionStateProxy.SetVariable("Stats", $Stats) - $Runspace.SessionStateProxy.SetVariable("Variables", $Variables) - [Void]$Runspace.SessionStateProxy.Path.SetLocation($Variables.MainPath) + $Global:CoreRunspace.SessionStateProxy.SetVariable("Config", $Config) + $Global:CoreRunspace.SessionStateProxy.SetVariable("Stats", $Stats) + $Global:CoreRunspace.SessionStateProxy.SetVariable("Variables", $Variables) + [Void]$Global:CoreRunspace.SessionStateProxy.Path.SetLocation($Variables.MainPath) $PowerShell = [PowerShell]::Create() - $PowerShell.Runspace = $Runspace - $Variables.CoreRunspace.Job = $Powershell.AddScript("$($Variables.MainPath)\Includes\Core.ps1").BeginInvoke() - $Variables.CoreRunspace.PowerShell = $PowerShell - $Variables.CoreRunspace.StartTime = [DateTime]::Now.ToUniversalTime() + $PowerShell.Runspace = $Global:CoreRunspace + $Global:CoreRunspace | Add-Member Job ($Powershell.AddScript("$($Variables.MainPath)\Includes\Core.ps1").BeginInvoke()) + $Global:CoreRunspace | Add-Member PowerShell $PowerShell + $Global:CoreRunspace | Add-Member StartTime ([DateTime]::Now.ToUniversalTime()) } } Function Stop-Core { - If ($Variables.CoreRunspace) { + If ($Global:CoreRunspace) { + + $Global:CoreRunspace.PowerShell.Stop() - $Variables.CoreRunspace.PowerShell.Stop() | Out-Null + Write-Message -Level Info "Ending cycle." $Variables.EndCycleTime = [DateTime]::Now.ToUniversalTime() @@ -771,15 +772,14 @@ Function Stop-Core { $Variables.MinersOptimal = [Miner[]]@() $Variables.MinersRunning = [Miner[]]@() - # Must close runspace after miners were stopped, otherwise methods don't work any longer - $Variables.CoreRunspace.PowerShell.EndInvoke($Variables.CoreRunspace.Job) | Out-Null - $Variables.CoreRunspace.PowerShell.Runspace.Dispose() | Out-Null - $Variables.CoreRunspace.PowerShell.Dispose() | Out-Null - $Variables.CoreRunspace.Close() | Out-Null - $Variables.CoreRunspace.Dispose() | Out-Null + # # Must close runspace after miners were stopped, otherwise methods don't work any longer + $Global:CoreRunspace.PowerShell.EndInvoke($Global:CoreRunspace.Job) + $Global:CoreRunspace.PowerShell.Runspace.Dispose($true) + $Global:CoreRunspace.PowerShell.Dispose($true) + $Global:CoreRunspace.Close() + $Global:CoreRunspace.Dispose($true) - $Variables.CoreRunspace.Remove("PowerShell") - $Variables.Remove("CoreRunspace") + Remove-Variable CoreRunspace -Scope global [System.GC]::Collect() } @@ -846,10 +846,13 @@ Function Stop-Brain { $Name.Where({ $Variables.Brains.$_ }).ForEach( { # Stop Brains - $Variables.Brains[$_].PowerShell.Stop() | Out-Null - If (-not $Variables.Brains[$_].Job.IsCompleted) { $Variables.Brains[$_].PowerShell.EndInvoke($Variables.Brains[$_].Job) | Out-Null } - $Variables.Brains[$_].PowerShell.Runspace.Close() | Out-Null - $Variables.Brains[$_].PowerShell.Dispose() | Out-Null + $Variables.Brains[$_].PowerShell.Stop() + If (-not $Variables.Brains[$_].Job.IsCompleted) { $Variables.Brains[$_].PowerShell.EndInvoke($Variables.Brains[$_].Job) } + $Variables.Brains[$_].PowerShell.Runspace.Dispose($true) + $Variables.Brains[$_].PowerShell.Close() + $Variables.Brains[$_].PowerShell.Dispose($true) + $Variables.Brains[$_].Close() + $Variables.Brains[$_].Dispose($true) $Variables.Brains.Remove($_) $Variables.BrainData.Remove($_) $BrainsStopped += $_ @@ -867,27 +870,25 @@ Function Start-BalancesTracker { If (Test-Path -LiteralPath ".\Balances" -PathType Container) { Try { - $Global:BalancesTrackerRunspace = @{ } - $Variables.Summary = "Starting Balances tracker background process..." Write-Message -Level Verbose ($Variables.Summary -replace "
", " ") - $Runspace = [RunspaceFactory]::CreateRunspace() - $Runspace.ApartmentState = "STA" - $Runspace.Name = "BalancesTracker" - $Runspace.ThreadOptions = "ReuseThread" - $Runspace.Open() + $Global:BalancesTrackerRunspace = [RunspaceFactory]::CreateRunspace() + $Global:BalancesTrackerRunspace.ApartmentState = "STA" + $Global:BalancesTrackerRunspace.Name = "BalancesTracker" + $Global:BalancesTrackerRunspace.ThreadOptions = "ReuseThread" + $Global:BalancesTrackerRunspace.Open() - $Runspace.SessionStateProxy.SetVariable("Config", $Config) - $Runspace.SessionStateProxy.SetVariable("Stats", $Stats) - $Runspace.SessionStateProxy.SetVariable("Variables", $Variables) - [Void]$Runspace.SessionStateProxy.Path.SetLocation($Variables.MainPath) + $Global:BalancesTrackerRunspace.SessionStateProxy.SetVariable("Config", $Config) + $Global:BalancesTrackerRunspace.SessionStateProxy.SetVariable("Stats", $Stats) + $Global:BalancesTrackerRunspace.SessionStateProxy.SetVariable("Variables", $Variables) + [Void]$Global:BalancesTrackerRunspace.SessionStateProxy.Path.SetLocation($Variables.MainPath) $PowerShell = [PowerShell]::Create() - $PowerShell.Runspace = $Runspace - $Global:BalancesTrackerRunspace.Job = $Powershell.AddScript("$($Variables.MainPath)\Includes\BalancesTracker.ps1").BeginInvoke() - $Global:BalancesTrackerRunspace.PowerShell = $PowerShell - $Global:BalancesTrackerRunspace.StartTime = [DateTime]::Now.ToUniversalTime() + $PowerShell.Runspace = $Global:BalancesTrackerRunspace + $Global:BalancesTrackerRunspace | Add-Member Job ($Powershell.AddScript("$($Variables.MainPath)\Includes\BalancesTracker.ps1").BeginInvoke()) + $Global:BalancesTrackerRunspace | Add-Member PowerShell $PowerShell + $Global:BalancesTrackerRunspace | Add-Member StartTime ([DateTime]::Now.ToUniversalTime()) } Catch { Write-Message -Level Error "Failed to start Balances tracker [$Error[0]]." @@ -903,15 +904,17 @@ Function Stop-BalancesTracker { If ($Global:BalancesTrackerRunspace) { + $Global:BalancesTrackerRunspace.PowerShell.Stop() + $Variables.BalancesTrackerRunning = $false - $Global:BalancesTrackerRunspace.PowerShell.Stop() | Out-Null - $Global:BalancesTrackerRunspace.PowerShell.EndInvoke() | Out-Null - $Global:BalancesTrackerRunspace.PowerShell.Runspace.Close() | Out-Null - $Global:BalancesTrackerRunspace.PowerShell.Dispose() | Out-Null - $Global:BalancesTrackerRunspace.Close() | Out-Null - $Global:BalancesTrackerRunspace.Dispose() | Out-Null - - $Variables.Remove("BalancesTrackerRunspace") + + $Global:BalancesTrackerRunspace.PowerShell.EndInvoke($Global:BalancesTrackerRunspace.Job) + $Global:BalancesTrackerRunspace.PowerShell.Runspace.Dispose($true) + $Global:BalancesTrackerRunspace.PowerShell.Dispose($true) + $Global:BalancesTrackerRunspace.Close() + $Global:BalancesTrackerRunspace.Dispose($true) + + Remove-Variable BalancesTrackerRunspace -Scope global $Variables.Summary += "
Balances tracker background process stopped." Write-Message -Level Info "Balances tracker background process stopped." diff --git a/Includes/LegacyGUI.ps1 b/Includes/LegacyGUI.ps1 index 5a2db181..f46ba108 100644 --- a/Includes/LegacyGUI.ps1 +++ b/Includes/LegacyGUI.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\LegacyGUI.psm1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> [Void][System.Reflection.Assembly]::Load("System.Windows.Forms") @@ -395,7 +395,7 @@ Function Update-TabControl { If ($LegacyGUIminersDGV.Columns) { $LegacyGUIminersLabel.Text = "Miner data updated $([DateTime]::Now.ToString())" } ElseIf ($Variables.MiningStatus -eq "Idle") { $LegacyGUIminersLabel.Text = "No data - mining is stopped" } ElseIf ($Variables.MiningStatus -eq "Paused") { $LegacyGUIminersLabel.Text = "No data - mining is paused" } - ElseIf ($Variables.MiningStatus -eq "Running" -and -not $Variables.CoreRunspace) { $LegacyGUIminersLabel.Text = "No data - mining is suspended" } + ElseIf ($Variables.MiningStatus -eq "Running" -and -not $Global:CoreRunspace) { $LegacyGUIminersLabel.Text = "No data - mining is suspended" } Else { $LegacyGUIminersLabel.Text = "Waiting for data..." } Break } @@ -460,7 +460,7 @@ Function Update-TabControl { If ($LegacyGUIpoolsDGV.Columns) { $LegacyGUIpoolsLabel.Text = "Pool data updated $([DateTime]::Now.ToString())" } ElseIf ($Variables.MiningStatus -eq "Idle") { $LegacyGUIpoolsLabel.Text = "No data - mining is stopped" } ElseIf ($Variables.MiningStatus -eq "Paused") { $LegacyGUIpoolsLabel.Text = "No data - mining is paused" } - ElseIf ($Variables.MiningStatus -eq "Running" -and -not $Variables.CoreRunspace) { $LegacyGUIminersLabel.Text = "No data - mining is suspended" } + ElseIf ($Variables.MiningStatus -eq "Running" -and -not $Global:CoreRunspace) { $LegacyGUIminersLabel.Text = "No data - mining is suspended" } Else { $LegacyGUIpoolsLabel.Text = "Waiting for data..." } Break } @@ -475,7 +475,7 @@ Function Update-TabControl { # If ($Variables.Workers) { $LegacyGUIworkersLabel.Text = "Worker status updated $($Variables.WorkersLastUpdated.ToString())" } # ElseIf ($Variables.MiningStatus -eq "Idle") { $LegacyGUIworkersLabel.Text = "No data - mining is stopped" } # ElseIf ($Variables.MiningStatus -eq "Paused") { $LegacyGUIworkersLabel.Text = "No data - mining is paused" } - # ElseIf ($Variables.MiningStatus -eq "Running" -and -not $Variables.CoreRunspace) { $LegacyGUIminersLabel.Text = "No data - mining is suspended" } + # ElseIf ($Variables.MiningStatus -eq "Running" -and -not $Global:CoreRunspace) { $LegacyGUIminersLabel.Text = "No data - mining is suspended" } # Else { $LegacyGUIworkersLabel.Text = "Waiting for data..." } # $nl = "`n" # Must use variable, cannot join with '`n' directly @@ -665,7 +665,7 @@ Function Update-GUIstatus { $LegacyGUIbuttonStop.Enabled = $true } "Running" { - If (-not $Variables.CoreRunspace) { + If (-not $Global:CoreRunspace) { $LegacyGUIminingStatusLabel.ForeColor = [System.Drawing.Color]::Blue $LegacyGUIminingStatusLabel.Text = "$($Variables.Branding.ProductLabel) is suspended" $LegacyGUIminingSummaryLabel.ForeColor = [System.Drawing.Color]::Black @@ -780,7 +780,7 @@ $LegacyGUIbuttonStart.Visible = $true $LegacyGUIbuttonStart.Width = 100 $LegacyGUIbuttonStart.Add_Click( { - If ($Variables.NewMiningStatus -ne "Running" -or $Variables.IdleDetectionRunspace -eq "Idle") { + If ($Variables.NewMiningStatus -ne "Running") { $Variables.NewMiningStatus = "Running" $Variables.RestartCycle = $true } diff --git a/Includes/MinerAPIs/BzMiner.ps1 b/Includes/MinerAPIs/BzMiner.ps1 index 9ed792c5..c6ba1a8e 100644 --- a/Includes/MinerAPIs/BzMiner.ps1 +++ b/Includes/MinerAPIs/BzMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\BzMiner.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class BzMiner : Miner { diff --git a/Includes/MinerAPIs/Ccminer.ps1 b/Includes/MinerAPIs/Ccminer.ps1 index 6bb78235..19c5e15d 100644 --- a/Includes/MinerAPIs/Ccminer.ps1 +++ b/Includes/MinerAPIs/Ccminer.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\CCminer.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class CcMiner : Miner { diff --git a/Includes/MinerAPIs/EthMiner.ps1 b/Includes/MinerAPIs/EthMiner.ps1 index 4d6dd126..5ddcc93e 100644 --- a/Includes/MinerAPIs/EthMiner.ps1 +++ b/Includes/MinerAPIs/EthMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\EthMiner.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class EthMiner : Miner { diff --git a/Includes/MinerAPIs/FireIce.ps1 b/Includes/MinerAPIs/FireIce.ps1 index 88c1a73d..f32d3870 100644 --- a/Includes/MinerAPIs/FireIce.ps1 +++ b/Includes/MinerAPIs/FireIce.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\FireIce.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class Fireice : Miner { diff --git a/Includes/MinerAPIs/Gminer.ps1 b/Includes/MinerAPIs/Gminer.ps1 index 6a2dbe17..523c7f99 100644 --- a/Includes/MinerAPIs/Gminer.ps1 +++ b/Includes/MinerAPIs/Gminer.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\GMiner.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class GMiner : Miner { diff --git a/Includes/MinerAPIs/HellMiner.ps1 b/Includes/MinerAPIs/HellMiner.ps1 index 7830ff18..0f220ddf 100644 --- a/Includes/MinerAPIs/HellMiner.ps1 +++ b/Includes/MinerAPIs/HellMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\lolMiner.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class HellMiner : Miner { diff --git a/Includes/MinerAPIs/MiniZ.ps1 b/Includes/MinerAPIs/MiniZ.ps1 index 4fb4b28b..c69c2e57 100644 --- a/Includes/MinerAPIs/MiniZ.ps1 +++ b/Includes/MinerAPIs/MiniZ.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\MiniZ.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class MiniZ : Miner { diff --git a/Includes/MinerAPIs/NBMiner.ps1 b/Includes/MinerAPIs/NBMiner.ps1 index 8dca07ab..4496e17b 100644 --- a/Includes/MinerAPIs/NBMiner.ps1 +++ b/Includes/MinerAPIs/NBMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\NBMiner.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class NBMiner : Miner { diff --git a/Includes/MinerAPIs/NanoMiner.ps1 b/Includes/MinerAPIs/NanoMiner.ps1 index 12204387..2d4f63d9 100644 --- a/Includes/MinerAPIs/NanoMiner.ps1 +++ b/Includes/MinerAPIs/NanoMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\NanoMiner.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class NanoMiner : Miner { diff --git a/Includes/MinerAPIs/OneZero.ps1 b/Includes/MinerAPIs/OneZero.ps1 index 4c9190e6..877d4fe0 100644 --- a/Includes/MinerAPIs/OneZero.ps1 +++ b/Includes/MinerAPIs/OneZero.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\Trex.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class OneZero : Miner { diff --git a/Includes/MinerAPIs/Rigel.ps1 b/Includes/MinerAPIs/Rigel.ps1 index 9e6a3897..a7ea238b 100644 --- a/Includes/MinerAPIs/Rigel.ps1 +++ b/Includes/MinerAPIs/Rigel.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\Rigel.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class Rigel : Miner { diff --git a/Includes/MinerAPIs/SRBMiner.ps1 b/Includes/MinerAPIs/SRBMiner.ps1 index de0c727b..dec33bd1 100644 --- a/Includes/MinerAPIs/SRBMiner.ps1 +++ b/Includes/MinerAPIs/SRBMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\SRBminer.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class SRBMiner : Miner { diff --git a/Includes/MinerAPIs/TeamBlackMiner.ps1 b/Includes/MinerAPIs/TeamBlackMiner.ps1 index c1cc6038..9615e7f0 100644 --- a/Includes/MinerAPIs/TeamBlackMiner.ps1 +++ b/Includes/MinerAPIs/TeamBlackMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\lolMiner.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class TeamBlackMiner : Miner { diff --git a/Includes/MinerAPIs/Trex.ps1 b/Includes/MinerAPIs/Trex.ps1 index 7b9b0686..2bb9daf0 100644 --- a/Includes/MinerAPIs/Trex.ps1 +++ b/Includes/MinerAPIs/Trex.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\Trex.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class Trex : Miner { diff --git a/Includes/MinerAPIs/Xgminer.ps1 b/Includes/MinerAPIs/Xgminer.ps1 index 7493450d..4146b90b 100644 --- a/Includes/MinerAPIs/Xgminer.ps1 +++ b/Includes/MinerAPIs/Xgminer.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\Xgminer.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class XgMiner : Miner { diff --git a/Includes/MinerAPIs/XmRig.ps1 b/Includes/MinerAPIs/XmRig.ps1 index 2f04bfbe..09d5c537 100644 --- a/Includes/MinerAPIs/XmRig.ps1 +++ b/Includes/MinerAPIs/XmRig.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\XmRig.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class XmRig : Miner { diff --git a/Includes/MinerAPIs/lolMiner.ps1 b/Includes/MinerAPIs/lolMiner.ps1 index c5be66ef..5d2725a2 100644 --- a/Includes/MinerAPIs/lolMiner.ps1 +++ b/Includes/MinerAPIs/lolMiner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Includes\MinerAPIs\lolMiner.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Class lolMiner : Miner { diff --git a/Miners/BzMiner-v21.4.0.ps1 b/Miners/BzMiner-v21.4.0.ps1 index a1b4aeae..d176df99 100644 --- a/Miners/BzMiner-v21.4.0.ps1 +++ b/Miners/BzMiner-v21.4.0.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ "AMD", "INTEL" -contains $_.Type -or ($_.OpenCL.ComputeCapability -ge "5.0" -and $_.OpenCL.DriverVersion -ge [Version]"460.27.03") }))) { Return } diff --git a/Miners/CcminerAlexis78-v1.5.2.ps1 b/Miners/CcminerAlexis78-v1.5.2.ps1 index 0054dae6..ba95a2b5 100644 --- a/Miners/CcminerAlexis78-v1.5.2.ps1 +++ b/Miners/CcminerAlexis78-v1.5.2.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.1" }))) { Return } diff --git a/Miners/CcminerDyn-v1.0.2.ps1 b/Miners/CcminerDyn-v1.0.2.ps1 index adbb7edc..8cbb4121 100644 --- a/Miners/CcminerDyn-v1.0.2.ps1 +++ b/Miners/CcminerDyn-v1.0.2.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } # Cuda error in func 'argon2d_hash_cuda' at line 89 : an illegal instruction was encountered on GTX 750 diff --git a/Miners/CcminerKlausT-v8.25.ps1 b/Miners/CcminerKlausT-v8.25.ps1 index 5ee4bb11..650fd1ab 100644 --- a/Miners/CcminerKlausT-v8.25.ps1 +++ b/Miners/CcminerKlausT-v8.25.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -and $_.OpenCL.ComputeCapability -lt "6.0" -and $_.Architecture -ne "Other" }))) { Return } diff --git a/Miners/CcminerKlausT-v8.26x2.ps1 b/Miners/CcminerKlausT-v8.26x2.ps1 index c6390731..93199b38 100644 --- a/Miners/CcminerKlausT-v8.26x2.ps1 +++ b/Miners/CcminerKlausT-v8.26x2.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge [Version]"6.0" }))) { Return } diff --git a/Miners/CcminerLyra2z330-v8.21r9.ps1 b/Miners/CcminerLyra2z330-v8.21r9.ps1 index cff2e102..c0a7a57d 100644 --- a/Miners/CcminerLyra2z330-v8.21r9.ps1 +++ b/Miners/CcminerLyra2z330-v8.21r9.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.1" }))) { Return } diff --git a/Miners/CcminerLyraYesscrypt-v8.21r18v5.ps1 b/Miners/CcminerLyraYesscrypt-v8.21r18v5.ps1 index 05930caa..9c4ebef1 100644 --- a/Miners/CcminerLyraYesscrypt-v8.21r18v5.ps1 +++ b/Miners/CcminerLyraYesscrypt-v8.21r18v5.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.1" }))) { Return } diff --git a/Miners/CcminerMemeHash-v2.5.5.9.ps1 b/Miners/CcminerMemeHash-v2.5.5.9.ps1 index c20ff2f7..e3bce1ae 100644 --- a/Miners/CcminerMemeHash-v2.5.5.9.ps1 +++ b/Miners/CcminerMemeHash-v2.5.5.9.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/CcminerNeoscryptXaya-v0.2.ps1 b/Miners/CcminerNeoscryptXaya-v0.2.ps1 index cc239f62..a6f0c3ac 100644 --- a/Miners/CcminerNeoscryptXaya-v0.2.ps1 +++ b/Miners/CcminerNeoscryptXaya-v0.2.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" -and $_.Architecture -ne "Other" }))) { Return } # Cuda error in func 'neoscrypt_hash_k4' at line 1518 : an illegal instruction was encountered on GTX 750 diff --git a/Miners/CcminerVerusCpu-v3.8.3.ps1 b/Miners/CcminerVerusCpu-v3.8.3.ps1 index b2165127..295afe86 100644 --- a/Miners/CcminerVerusCpu-v3.8.3.ps1 +++ b/Miners/CcminerVerusCpu-v3.8.3.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($AvailableMinerDevices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" }))) { Return } diff --git a/Miners/CcminerVerusGpu-v3.8.3.ps1 b/Miners/CcminerVerusGpu-v3.8.3.ps1 index 33e84a8d..5fa3e12d 100644 --- a/Miners/CcminerVerusGpu-v3.8.3.ps1 +++ b/Miners/CcminerVerusGpu-v3.8.3.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "7.5" }))) { Return } diff --git a/Miners/ClaymoreNeoscrypt-v1.2.ps1 b/Miners/ClaymoreNeoscrypt-v1.2.ps1 index 5cf814c9..41e1f892 100644 --- a/Miners/ClaymoreNeoscrypt-v1.2.ps1 +++ b/Miners/ClaymoreNeoscrypt-v1.2.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" -and $Variables.DriverVersion.CIM.AMD -lt [Version]"26.20.15011.10003" }))) { Return } diff --git a/Miners/CpuMiner-v1.4.ps1 b/Miners/CpuMiner-v1.4.ps1 index 8e2763cc..dc35dd63 100644 --- a/Miners/CpuMiner-v1.4.ps1 +++ b/Miners/CpuMiner-v1.4.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($AvailableMinerDevices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" }))) { Return } diff --git a/Miners/CpuMinerAurum-v3.23.1.ps1 b/Miners/CpuMinerAurum-v3.23.1.ps1 index 432619cc..c3e93a0d 100644 --- a/Miners/CpuMinerAurum-v3.23.1.ps1 +++ b/Miners/CpuMinerAurum-v3.23.1.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($AvailableMinerDevices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" }))) { Return } diff --git a/Miners/CryptoDredge-v0.16.0.ps1 b/Miners/CryptoDredge-v0.16.0.ps1 index d8e8552e..5cb893e5 100644 --- a/Miners/CryptoDredge-v0.16.0.ps1 +++ b/Miners/CryptoDredge-v0.16.0.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/CryptoDredge-v0.27.0.ps1 b/Miners/CryptoDredge-v0.27.0.ps1 index 443ca0ed..4eab2bf1 100644 --- a/Miners/CryptoDredge-v0.27.0.ps1 +++ b/Miners/CryptoDredge-v0.27.0.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" -and $_.Architecture -ne "Other" }))) { Return } diff --git a/Miners/EthMiner-v0.19.0.18.ps1 b/Miners/EthMiner-v0.19.0.18.ps1 index 037108be..df920584 100644 --- a/Miners/EthMiner-v0.19.0.18.ps1 +++ b/Miners/EthMiner-v0.19.0.18.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" -or ($_.OpenCL.ComputeCapability -ge "5.0" -and $_.CUDAVersion -ge [Version]"9.1") }))) { Return } diff --git a/Miners/EvrProgPow-v1p3p0.ps1 b/Miners/EvrProgPow-v1p3p0.ps1 index 177fbf53..eab58e73 100644 --- a/Miners/EvrProgPow-v1p3p0.ps1 +++ b/Miners/EvrProgPow-v1p3p0.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/FrkHashMiner-v1.3.14.ps1 b/Miners/FrkHashMiner-v1.3.14.ps1 index c682f46a..9d7d8400 100644 --- a/Miners/FrkHashMiner-v1.3.14.ps1 +++ b/Miners/FrkHashMiner-v1.3.14.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" -and $_.CUDAVersion -ge [Version]"9.1" }))) { Return } diff --git a/Miners/GMiner-v2.75.ps1 b/Miners/GMiner-v2.75.ps1 index e0033445..07c2847b 100644 --- a/Miners/GMiner-v2.75.ps1 +++ b/Miners/GMiner-v2.75.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ ($_.Type -eq "AMD" -and $_.OpenCL.ClVersion -ge "OpenCL C 1.2") -or $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/GMiner-v3.44.ps1 b/Miners/GMiner-v3.44.ps1 index bde634f4..fb9ba2a5 100644 --- a/Miners/GMiner-v3.44.ps1 +++ b/Miners/GMiner-v3.44.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ ($_.Type -eq "AMD" -and $_.OpenCL.ClVersion -ge "OpenCL C 1.2") -or $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/HellMiner-v0.59.1.ps1 b/Miners/HellMiner-v0.59.1.ps1 index 4f9e1ff3..d36fd11a 100644 --- a/Miners/HellMiner-v0.59.1.ps1 +++ b/Miners/HellMiner-v0.59.1.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($AvailableMinerDevices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" }))) { Return } diff --git a/Miners/JayddeeCpu-v24.4.ps1 b/Miners/JayddeeCpu-v24.4.ps1 index f35266f9..f71b525b 100644 --- a/Miners/JayddeeCpu-v24.4.ps1 +++ b/Miners/JayddeeCpu-v24.4.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($AvailableMinerDevices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" }))) { Return } diff --git a/Miners/KawpowMiner-v1.2.4cl.ps1 b/Miners/KawpowMiner-v1.2.4cl.ps1 index 13225ae5..41e03e23 100644 --- a/Miners/KawpowMiner-v1.2.4cl.ps1 +++ b/Miners/KawpowMiner-v1.2.4cl.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" }))) { Return } diff --git a/Miners/KawpowMiner-v1.2.4cuda.ps1 b/Miners/KawpowMiner-v1.2.4cuda.ps1 index 44ad1da7..0a0be65f 100644 --- a/Miners/KawpowMiner-v1.2.4cuda.ps1 +++ b/Miners/KawpowMiner-v1.2.4cuda.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/Kudaraidee-v1.2.0a.ps1 b/Miners/Kudaraidee-v1.2.0a.ps1 index bf72143f..74139209 100644 --- a/Miners/Kudaraidee-v1.2.0a.ps1 +++ b/Miners/Kudaraidee-v1.2.0a.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" -or ($_.Type -eq "NVIDIA" -and $_.CUDAVersion -ge [Version]"10.2") }))) { Return } diff --git a/Miners/MeowPowMiner-v2.0.0cl.ps1 b/Miners/MeowPowMiner-v2.0.0cl.ps1 index 29b28217..5a24e9e0 100644 --- a/Miners/MeowPowMiner-v2.0.0cl.ps1 +++ b/Miners/MeowPowMiner-v2.0.0cl.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" }))) { Return } diff --git a/Miners/MeowPowMiner-v2.0.0cuda.ps1 b/Miners/MeowPowMiner-v2.0.0cuda.ps1 index d6749162..4a7cf897 100644 --- a/Miners/MeowPowMiner-v2.0.0cuda.ps1 +++ b/Miners/MeowPowMiner-v2.0.0cuda.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/MiniZ-v2.4d.ps1 b/Miners/MiniZ-v2.4d.ps1 index 27265d6a..2149c276 100644 --- a/Miners/MiniZ-v2.4d.ps1 +++ b/Miners/MiniZ-v2.4d.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" -or $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/NBMiner-v42.3.ps1 b/Miners/NBMiner-v42.3.ps1 index 05f3f3ce..98d8c2dd 100644 --- a/Miners/NBMiner-v42.3.ps1 +++ b/Miners/NBMiner-v42.3.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" -or ($_.OpenCL.ComputeCapability -ge "6.0" -and $_.CUDAVersion -ge [Version]"10.0") }))) { Return } diff --git a/Miners/NSFMiner-v1.3.14.ps1 b/Miners/NSFMiner-v1.3.14.ps1 index cebedba9..7881480e 100644 --- a/Miners/NSFMiner-v1.3.14.ps1 +++ b/Miners/NSFMiner-v1.3.14.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" -or ($_.OpenCL.ComputeCapability -ge "5.0" -and $_.CUDAVersion -ge [Version]"9.1") }))) { Return } diff --git a/Miners/NanoMiner-v3.9.2.ps1 b/Miners/NanoMiner-v3.9.2.ps1 index a8fe0d59..4294f0b4 100644 --- a/Miners/NanoMiner-v3.9.2.ps1 +++ b/Miners/NanoMiner-v3.9.2.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" -or $_.Type -ne "NVIDIA" -or ($_.OpenCL.ComputeCapability -ge "5.0" -and $_.OpenCL.DriverVersion -ge [Version]"455.23") }))) { Return } diff --git a/Miners/Ninjarig-1.0.3.ps1 b/Miners/Ninjarig-1.0.3.ps1 index 1380caaf..cc249e06 100644 --- a/Miners/Ninjarig-1.0.3.ps1 +++ b/Miners/Ninjarig-1.0.3.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/NosuchCpu-v3.8.8.1.ps1 b/Miners/NosuchCpu-v3.8.8.1.ps1 index 5174b900..ec6dad4c 100644 --- a/Miners/NosuchCpu-v3.8.8.1.ps1 +++ b/Miners/NosuchCpu-v3.8.8.1.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($AvailableMinerDevices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" }))) { Return } diff --git a/Miners/OneZeroMiner-v1.3.7.ps1 b/Miners/OneZeroMiner-v1.3.7.ps1 index 2bc59188..dbfb31b7 100644 --- a/Miners/OneZeroMiner-v1.3.7.ps1 +++ b/Miners/OneZeroMiner-v1.3.7.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "NVIDIA" -and $_.OpenCL.DriverVersion -ge [Version]"450.80.02" }))) { Return } diff --git a/Miners/PhoenixMiner-v6.2c.ps1 b/Miners/PhoenixMiner-v6.2c.ps1 index 5bc295d5..618cdf94 100644 --- a/Miners/PhoenixMiner-v6.2c.ps1 +++ b/Miners/PhoenixMiner-v6.2c.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" -or $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/Radiator-v1.0.0.ps1 b/Miners/Radiator-v1.0.0.ps1 index c99f2735..ac828579 100644 --- a/Miners/Radiator-v1.0.0.ps1 +++ b/Miners/Radiator-v1.0.0.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/Raptor3umCpu-v2.0.ps1 b/Miners/Raptor3umCpu-v2.0.ps1 index 96a83eca..c15db689 100644 --- a/Miners/Raptor3umCpu-v2.0.ps1 +++ b/Miners/Raptor3umCpu-v2.0.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($AvailableMinerDevices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" }))) { Return } diff --git a/Miners/Rigel-v1.18.1.ps1 b/Miners/Rigel-v1.18.1.ps1 index f7bb885b..7856a05c 100644 --- a/Miners/Rigel-v1.18.1.ps1 +++ b/Miners/Rigel-v1.18.1.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> # Return diff --git a/Miners/RplantCpu-v5.0.41.ps1 b/Miners/RplantCpu-v5.0.41.ps1 index 070c5c8d..fcd6fd1e 100644 --- a/Miners/RplantCpu-v5.0.41.ps1 +++ b/Miners/RplantCpu-v5.0.41.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($AvailableMinerDevices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" }))) { Return } diff --git a/Miners/RrkzCpu-v4.2.ps1 b/Miners/RrkzCpu-v4.2.ps1 index bbed4ef9..d41c5703 100644 --- a/Miners/RrkzCpu-v4.2.ps1 +++ b/Miners/RrkzCpu-v4.2.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($AvailableMinerDevices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" }))) { Return } diff --git a/Miners/SCCminer-v1.1.0.ps1 b/Miners/SCCminer-v1.1.0.ps1 index e13296ee..367e172a 100644 --- a/Miners/SCCminer-v1.1.0.ps1 +++ b/Miners/SCCminer-v1.1.0.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Return # Bad shares diff --git a/Miners/SRBMinerMulti-v0.9.4.ps1 b/Miners/SRBMinerMulti-v0.9.4.ps1 index 2df8ba57..7ef7fb59 100644 --- a/Miners/SRBMinerMulti-v0.9.4.ps1 +++ b/Miners/SRBMinerMulti-v0.9.4.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> # Support for Pitcairn, Tahiti, Hawaii, Fiji and Tonga was removed in later versions diff --git a/Miners/SRBMinerMulti-v2.6.1.ps1 b/Miners/SRBMinerMulti-v2.6.1.ps1 index b2343d0f..8c9d6e33 100644 --- a/Miners/SRBMinerMulti-v2.6.1.ps1 +++ b/Miners/SRBMinerMulti-v2.6.1.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "CPU" -or $_.Type -eq "INTEL" -or ($_.Type -eq "AMD" -and $_.Model -notmatch "^GCN[1-3]" -and $_.OpenCL.ClVersion -ge "OpenCL C 2.0") -or ($_.OpenCL.ComputeCapability -ge "5.0" -and $_.OpenCL.DriverVersion -ge "510.00") }))) { Return } @@ -127,7 +127,7 @@ $Algorithms = @( @{ Algorithms = @("RandomSfx"); Type = "CPU"; Fee = @(0.0085); MinerSet = 2; WarmupTimes = @(30, 0); ExcludePools = @(@(), @()); Arguments = @(" --disable-gpu --algorithm randomsfx --Randomx-use-1gb-pages") } @{ Algorithms = @("RandomNevo"); Type = "CPU"; Fee = @(0.0085); MinerSet = 2; WarmupTimes = @(60, 0); ExcludePools = @(@(), @()); Arguments = @(" --disable-gpu --algorithm randomnevo --Randomx-use-1gb-pages") } @{ Algorithms = @("RandomTuske"); Type = "CPU"; Fee = @(0.0085); MinerSet = 2; WarmupTimes = @(90, 20); ExcludePools = @(@(), @()); Arguments = @(" --disable-gpu --algorithm randomtuske --Randomx-use-1gb-pages") } - @{ Algorithms = @("RandomxArq"); Type = "CPU"; Fee = @(0.0085); MinerSet = 2; WarmupTimes = @(60, 0); ExcludePools = @(@(), @()); Arguments = @(" --disable-gpu --algorithm randomarq --Randomx-use-1gb-pages") } # FPGA +# @{ Algorithms = @("RandomxArq"); Type = "CPU"; Fee = @(0.0085); MinerSet = 2; WarmupTimes = @(60, 0); ExcludePools = @(@(), @()); Arguments = @(" --disable-gpu --algorithm randomarq --Randomx-use-1gb-pages") } # FPGA @{ Algorithms = @("RandomxEpic"); Type = "CPU"; Fee = @(0.0085); MinerSet = 2; WarmupTimes = @(30, 0); ExcludePools = @(@(), @()); Arguments = @(" --disable-gpu --algorithm randomepic --Randomx-use-1gb-pages") } @{ Algorithms = @("RandomxKeva"); Type = "CPU"; Fee = @(0.0085); MinerSet = 2; WarmupTimes = @(30, 0); ExcludePools = @(@(), @()); Arguments = @(" --disable-gpu --algorithm randomkeva --Randomx-use-1gb-pages") } @{ Algorithms = @("RandomxScash"); Type = "CPU"; Fee = @(0.0085); MinerSet = 2; WarmupTimes = @(90, 20); ExcludePools = @(@(), @()); Arguments = @(" --disable-gpu --algorithm randomscash --Randomx-use-1gb-pages") } diff --git a/Miners/SgMinerFancyIX-v0.9.4.ps1 b/Miners/SgMinerFancyIX-v0.9.4.ps1 index 217b2568..6d3c00bb 100644 --- a/Miners/SgMinerFancyIX-v0.9.4.ps1 +++ b/Miners/SgMinerFancyIX-v0.9.4.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" }))) { Return } diff --git a/Miners/Suprminer-v2.31v2.ps1 b/Miners/Suprminer-v2.31v2.ps1 index 67cc7c06..1b56a194 100644 --- a/Miners/Suprminer-v2.31v2.ps1 +++ b/Miners/Suprminer-v2.31v2.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/TTMiner-v2024.3.2.ps1 b/Miners/TTMiner-v2024.3.2.ps1 index 595c3789..b0bc8463 100644 --- a/Miners/TTMiner-v2024.3.2.ps1 +++ b/Miners/TTMiner-v2024.3.2.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> # TT needs avx2 and aes https://github.com/TrailingStop/TT-Miner-beta/issues/7#issuecomment-2158058291 diff --git a/Miners/TTMiner-v5.0.3.ps1 b/Miners/TTMiner-v5.0.3.ps1 index 028f3d55..8a511902 100644 --- a/Miners/TTMiner-v5.0.3.ps1 +++ b/Miners/TTMiner-v5.0.3.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/TeamBlackMiner-v2.25.ps1 b/Miners/TeamBlackMiner-v2.25.ps1 index a9f7ae10..1c9cbbb1 100644 --- a/Miners/TeamBlackMiner-v2.25.ps1 +++ b/Miners/TeamBlackMiner-v2.25.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" -or ($_.OpenCL.ComputeCapability -ge "5.0" -and $_.CUDAVersion -ge [Version]"11.6") }))) { Return } diff --git a/Miners/TeamRedMiner-v0.10.21.ps1 b/Miners/TeamRedMiner-v0.10.21.ps1 index 98cb8153..059790ce 100644 --- a/Miners/TeamRedMiner-v0.10.21.ps1 +++ b/Miners/TeamRedMiner-v0.10.21.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "AMD" -and $_.OpenCL.ClVersion -ge "OpenCL C 2.0" }))) { Return } diff --git a/Miners/Trex-v0.26.8.ps1 b/Miners/Trex-v0.26.8.ps1 index aa386920..9ae0b58e 100644 --- a/Miners/Trex-v0.26.8.ps1 +++ b/Miners/Trex-v0.26.8.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/Wildrig-v0.40.8.ps1 b/Miners/Wildrig-v0.40.8.ps1 index 144de1d0..57124383 100644 --- a/Miners/Wildrig-v0.40.8.ps1 +++ b/Miners/Wildrig-v0.40.8.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ ($_.Type -eq "AMD" -and $_.OpenCL.ClVersion -ge "OpenCL C 1.2") -or $_.Type -eq "INTEL" -or ($_.OpenCL.ComputeCapability -ge "5.0" -and $_.OpenCL.DriverVersion -ge [Version]"452.39.00") }))) { Return } diff --git a/Miners/XLArig-v5.2.4.ps1 b/Miners/XLArig-v5.2.4.ps1 index e7f8d5e0..1b8fa656 100644 --- a/Miners/XLArig-v5.2.4.ps1 +++ b/Miners/XLArig-v5.2.4.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> # https://github.com/scala-network/XLArig/issues/59; Need to remove temp fix in \Includes\MinerAPIs\XMrig.psm1 when resolved diff --git a/Miners/XmRig-v6.21.3.15.ps1 b/Miners/XmRig-v6.21.3.15.ps1 index 299dbde0..1606f8c1 100644 --- a/Miners/XmRig-v6.21.3.15.ps1 +++ b/Miners/XmRig-v6.21.3.15.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ "AMD", "CPU", "INTEL" -contains $_.Type -or $_.OpenCL.ComputeCapability -gt "5.0" }))) { Return } diff --git a/Miners/XmrStak-v2.10.8.ps1 b/Miners/XmrStak-v2.10.8.ps1 index 0076031c..51b3d79d 100644 --- a/Miners/XmrStak-v2.10.8.ps1 +++ b/Miners/XmrStak-v2.10.8.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -ne "NVIDIA" -or $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/ZealotEnemy-v2.6.3.ps1 b/Miners/ZealotEnemy-v2.6.3.ps1 index c7b13efe..f45b4b26 100644 --- a/Miners/ZealotEnemy-v2.6.3.ps1 +++ b/Miners/ZealotEnemy-v2.6.3.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.OpenCL.ComputeCapability -ge "5.0" }))) { Return } diff --git a/Miners/lolMiner-v1.88.ps1 b/Miners/lolMiner-v1.88.ps1 index 61f69023..22d2ceb2 100644 --- a/Miners/lolMiner-v1.88.ps1 +++ b/Miners/lolMiner-v1.88.ps1 @@ -17,8 +17,8 @@ along with this program. If not, see . <# Product: UG-Miner -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> If (-not ($Devices = $Variables.EnabledDevices.Where({ $_.Type -eq "INTEL" -or ($_.Type -eq "AMD" -and $_.Architecture -match "GCN4|RDNA[1|2|3]") -or $_.OpenCL.ComputeCapability -ge "6.0" }))) { Return } diff --git a/Pools/HashCryptos.ps1 b/Pools/HashCryptos.ps1 index 243f41a5..7d9b12eb 100644 --- a/Pools/HashCryptos.ps1 +++ b/Pools/HashCryptos.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Pools\HashCryptos.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Param( diff --git a/Pools/HiveON.ps1 b/Pools/HiveON.ps1 index 31a2ac2a..666423e9 100644 --- a/Pools/HiveON.ps1 +++ b/Pools/HiveON.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Pools\Hiveon.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Param( diff --git a/Pools/MiningDutch.ps1 b/Pools/MiningDutch.ps1 index cacb22b5..ed35bf65 100644 --- a/Pools/MiningDutch.ps1 +++ b/Pools/MiningDutch.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Pools\MiningDutch.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Param( diff --git a/Pools/MiningPoolHub.ps1 b/Pools/MiningPoolHub.ps1 index c2ce4247..5ba4e65a 100644 --- a/Pools/MiningPoolHub.ps1 +++ b/Pools/MiningPoolHub.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Pools\MiningPoolHub.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Param( diff --git a/Pools/NiceHash.ps1 b/Pools/NiceHash.ps1 index 23a5a065..8a4f0dc0 100644 --- a/Pools/NiceHash.ps1 +++ b/Pools/NiceHash.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Pools\NiceHash.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Param( diff --git a/Pools/ProHashing.ps1 b/Pools/ProHashing.ps1 index 4fbac5a2..3e83c67c 100644 --- a/Pools/ProHashing.ps1 +++ b/Pools/ProHashing.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Pools\ProHashing.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Param( diff --git a/Pools/ZPool.ps1 b/Pools/ZPool.ps1 index 37c78fda..42927477 100644 --- a/Pools/ZPool.ps1 +++ b/Pools/ZPool.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Pools\ZPool.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Param( diff --git a/Pools/ZergPool.ps1 b/Pools/ZergPool.ps1 index 7e6d7ef2..d861e20f 100644 --- a/Pools/ZergPool.ps1 +++ b/Pools/ZergPool.ps1 @@ -19,8 +19,8 @@ along with this program. If not, see . <# Product: UG-Miner File: \Pools\ZergPool.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> Param( diff --git a/UG-Miner.ps1 b/UG-Miner.ps1 index b589426f..ad344ec3 100644 --- a/UG-Miner.ps1 +++ b/UG-Miner.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: UG-Miner.ps1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> using module .\Includes\Include.psm1 @@ -301,7 +301,7 @@ $Variables.Branding = [PSCustomObject]@{ BrandName = "UG-Miner" BrandWebSite = "https://github.com/UselessGuru/UG-Miner" ProductLabel = "UG-Miner" - Version = [System.Version]"6.2.24" + Version = [System.Version]"6.2.25" } $WscriptShell = New-Object -ComObject Wscript.Shell @@ -321,7 +321,7 @@ $Variables.PoolsConfigFile = $ExecutionContext.SessionState.Path.GetUnresolvedPr If (((Get-CimInstance CIM_Process).Where({ $_.CommandLine -like "PWSH* -Command $($Variables.MainPath)*.ps1 *" }).CommandLine).Count -gt 1) { # Another instance is already running. Try again in 20 seconds (previous instance might be from autoupdate) Write-Host "Verifing that no other instance of $($Variables.Branding.ProductLabel) is running..." - Start-Sleep 15 + Start-Sleep 20 If (((Get-CimInstance CIM_Process).Where({ $_.CommandLine -like "PWSH* -Command $($Variables.MainPath)*.ps1 *" }).CommandLine).Count -gt 1) { Write-Host "Terminating Error - Another instance of $($Variables.Branding.ProductLabel) is already running." -ForegroundColor "Red" $WscriptShell.Popup("Another instance of $($Variables.Branding.ProductLabel) is already running.", 0, "Terminating error - Cannot continue!", 4112) | Out-Null @@ -553,7 +553,7 @@ If ($Config.WebGUI) { Start-APIServer } Function MainLoop { # Core watchdog. Sometimes core loop gets stuck - If (-not $Variables.SuspendCycle -and $Variables.MyIP -and $Variables.EndCycleTime -and $Variables.MiningStatus -eq "Running" -and $Variables.CoreRunspace -and [DateTime]::Now.ToUniversalTime() -gt $Variables.EndCycleTime.AddSeconds(15 * $Config.Interval)) { + If (-not $Variables.SuspendCycle -and $Variables.MyIP -and $Variables.EndCycleTime -and $Variables.MiningStatus -eq "Running" -and $Global:CoreRunspace -and [DateTime]::Now.ToUniversalTime() -gt $Variables.EndCycleTime.AddSeconds(15 * $Config.Interval)) { Write-Message -Level Warn "Core cycle is stuck - restarting..." Stop-Core $Variables.MiningStatus = $Variables.NewMiningStatus @@ -634,34 +634,40 @@ Function MainLoop { } } $Variables.MiningStatus = $Variables.NewMiningStatus - } + }6 If ($LegacyGUIform) { Update-GUIstatus } If ($Config.BalancesTrackerPollInterval -gt 0 -and $Variables.NewMiningStatus -ne "Idle") { Start-BalancesTracker } Else { Stop-BalancesTracker } } If ($Variables.MiningStatus -eq "Running") { If ($Config.IdleDetection) { - # System has been idle long enough, start mining - If (-not $Variables.Timer -or [Math]::Round([PInvoke.Win32.UserInput]::IdleTime.TotalSeconds) -gt $Config.IdleSec) { - If (-not $Variables.CoreRunspace) { + # System was idle long enough, start mining + If ([Math]::Round([PInvoke.Win32.UserInput]::IdleTime.TotalSeconds) -gt $Config.IdleSec) { + If (-not $Global:CoreRunspace) { If ($Variables.Timer) { - $Variables.Summary = "System has been idle for $($Config.IdleSec) second$(If ($Config.IdleSec -ne 1) { "s" }).
Resuming mining." + $Variables.Summary = "System was idle for $($Config.IdleSec) second$(If ($Config.IdleSec -ne 1) { "s" }).
Resuming mining." Write-Message -Level Verbose ($Variables.Summary -replace "
", " ") } Start-Core + $Proc = Get-Process -Id $PID + Write-Message -Level Info "$ProcessName main loop: handles: $($Proc.HandleCount) / memory: $($Proc.PrivateMemorySize64 / 1mb) mb / threads: $($Proc.Threads.Count) / modules: $($Proc.Modules.Count)" If ($LegacyGUIform) { Update-GUIstatus } } } # Activity detected, pause mining - ElseIf ($Variables.CoreRunspace) { - $Variables.Summary = "System activity detected.
Mining will be suspended until system is idle for $($Config.IdleSec) second$(If ($Config.IdleSec -ne 1) { "s" })." + ElseIf ($Global:CoreRunspace) { + $Variables.Summary = "System activity detected.
Mining is suspended until system is idle for $($Config.IdleSec) second$(If ($Config.IdleSec -ne 1) { "s" })." Write-Message -Level Verbose ($Variables.Summary -replace "
", " ") Stop-Core + $Proc = Get-Process -Id $PID + Write-Message -Level Info "$ProcessName main loop: handles: $($Proc.HandleCount) / memory: $($Proc.PrivateMemorySize64 / 1mb) mb / threads: $($Proc.Threads.Count) / modules: $($Proc.Modules.Count)" If ($LegacyGUIform) { Update-GUIstatus } } } - ElseIf (-not $Variables.CoreRunspace) { + ElseIf (-not $Global:CoreRunspace) { Start-Core + $Proc = Get-Process -Id $PID + Write-Message -Level Info "$ProcessName main loop: handles: $($Proc.HandleCount) / memory: $($Proc.PrivateMemorySize64 / 1mb) mb / threads: $($Proc.Threads.Count) / modules: $($Proc.Modules.Count)" If ($LegacyGUIform) { Update-GUIstatus } } } @@ -680,7 +686,7 @@ Function MainLoop { $host.UI.RawUI.FlushInputBuffer() If ($KeyPressed.Key -eq "p" -and $KeyPressed.Modifiers -eq 5 <# #>) { - If (-not $Variables.CoreRunspace.AsyncObject.IsCompleted -eq $false) { + If (-not $Global:CoreRunspace.AsyncObject.IsCompleted -eq $false) { # Core is complete / gone. Cycle cannot be suspended anymore $Variables.SuspendCycle = $false } diff --git a/Utils/UG-Miner_LogReader.xml b/Utils/UG-Miner_LogReader.xml index 22d8c4ec..8f31573e 100644 --- a/Utils/UG-Miner_LogReader.xml +++ b/Utils/UG-Miner_LogReader.xml @@ -15,7 +15,7 @@ Yellow DarkGreen false - UG-Miner_2024-08-09.log + UG-Miner_2024-08-12.log Maximized 1886 @@ -102,7 +102,7 @@ Black - System activity detected. Mining will be suspended until system is idle for|System has been idle for .*Resuming mining. + System activity detected. Mining is suspended until system is idle for|System was idle for .*Resuming mining. false true false @@ -211,8 +211,8 @@ 1163 - 40 - 32 + 78 + 48 false false diff --git a/Version.txt b/Version.txt index 8acc8a1f..8e83b43e 100644 --- a/Version.txt +++ b/Version.txt @@ -1,6 +1,6 @@ { "Product": "UG-Miner", - "Version": "6.2.24", + "Version": "6.2.25", "AutoUpdate": true, "Uri": "https://github.com/UselessGuru/UG-Miner/archive/refs/heads/master.zip", "Message": "https://github.com/UselessGuru/UG-Miner/releases" diff --git a/Web/scripts/demo.ps1 b/Web/scripts/demo.ps1 index 01e2456b..e6cc0de5 100644 --- a/Web/scripts/demo.ps1 +++ b/Web/scripts/demo.ps1 @@ -18,8 +18,8 @@ along with this program. If not, see . <# Product: UG-Miner File: demo.psm1 -Version: 6.2.24 -Version date: 2024/08/10 +Version: 6.2.25 +Version date: 2024/08/13 #> # Try running this script as: http://localhost:3999/scripts/demo.ps1?message=Hello%20World!