Skip to content

Commit

Permalink
Zerg test (#458)
Browse files Browse the repository at this point in the history
* test official endpoints

* heavyhash changed- fix error

* Fix srbmulti typo
  • Loading branch information
MaynardMiner authored Feb 8, 2024
1 parent c19fbd5 commit 88704ba
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5 deletions.
12 changes: 10 additions & 2 deletions config/pools/pool-algos.json
Original file line number Diff line number Diff line change
Expand Up @@ -634,8 +634,7 @@
},
"heavyhash": {
"alt_names": [
"heavyhash",
"kheavyhash"
"heavyhash"
],
"exclusions": [
"add pool or miner here",
Expand Down Expand Up @@ -744,6 +743,15 @@
"comma seperated"
]
},
"kheavyhash": {
"alt_names": [
"kheavyhash"
],
"exclusions": [
"add pool or miner here",
"comma seperated"
]
},
"lbk3": {
"alt_names": [
"lbk3"
Expand Down
2 changes: 1 addition & 1 deletion miners/cpu/srbmulti-cpu.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ $(vars).CPUTypes | ForEach-Object {
Port = 10001
Worker = $Rig
API = "srbmulti-cpu"
Wallet = "$($_.$User)"
Wallet = "$($_.User1)"
URI = $Uri
Server = "localhost"
Algo = "$($_.Algorithm)"
Expand Down
2 changes: 1 addition & 1 deletion pools/coin/zergpool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if ($Name -in $(arg).PoolName) {
if ($(arg).xnsub -eq "Yes") { $X = "#xnsub" }

## Skip if user didn't specify
try { $Pool_Request = Invoke-RestMethod "http://zergpool.com:8080/api/currencies" -UseBasicParsing -TimeoutSec 30 -ErrorAction Stop }
try { $Pool_Request = Invoke-RestMethod "https://zergpool.com/api/currencies" -UseBasicParsing -TimeoutSec 30 -ErrorAction Stop }
catch {
return "WARNING: SWARM contacted ($Name) for a failed API check. (Coins)";
}
Expand Down
2 changes: 1 addition & 1 deletion pools/prop/zergpool.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ if ($Name -in $(arg).PoolName) {
$X = ""
if ($(arg).xnsub -eq "Yes") { $X = "#xnsub" }

try { $Pool_Request = Invoke-RestMethod "http://api.zergpool.com:8080/api/status" -UseBasicParsing -TimeoutSec 30 -ErrorAction Stop }
try { $Pool_Request = Invoke-RestMethod "https://zergpool.com/api/status" -UseBasicParsing -TimeoutSec 30 -ErrorAction Stop }
catch { return "WARNING: SWARM contacted ($Name) but there was no response." }

if (($Pool_Request | Get-Member -MemberType NoteProperty -ErrorAction Ignore | Measure-Object Name).Count -le 1) {
Expand Down

0 comments on commit 88704ba

Please sign in to comment.