Skip to content

Commit

Permalink
-fix typo in dredge
Browse files Browse the repository at this point in the history
-add x12 to updater
  • Loading branch information
MaynardMiner committed Oct 9, 2019
1 parent 0acbc17 commit d894564
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
14 changes: 13 additions & 1 deletion build/powershell/startup/remoteagent.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -439,6 +439,17 @@ function Global:start-update {
}
}
}

if ($ChangeFile -eq "swarm-miner.json") {
$Data | Get-Member -MemberType NoteProperty | Select -ExpandProperty Name | foreach {
if ($_ -ne "name") {
$Data.$_.commands | Add-Member "x12" "" -ErrorAction SilentlyContinue
$Data.$_.difficulty | Add-Member "x12" "" -ErrorAction SilentlyContinue
$Data.$_.naming | Add-Member "x12" "x12" -ErrorAction SilentlyContinue
$Data.$_.fee | Add-Member "x12" 0 -ErrorAction SilentlyContinue
}
}
}

if($ChangeFile -eq "pool-algos.json") {
$Data | add-Member "x25x" @{alt_names = @("x25x"); exclusions = @("add pool or miner here","comma seperated")} -ErrorAction SilentlyContinue
Expand All @@ -452,7 +463,8 @@ function Global:start-update {
$Data | add-Member "equihash_150/5" @{alt_names = @("equihash_150/5","equihash150","beam"); exclusions = @("add pool or miner here","comma seperated")} -ErrorAction SilentlyContinue -Force
$Data | add-Member "argon2d500" @{alt_names = @("argon2d500"); exclusions = @("add pool or miner here","comma seperated")} -ErrorAction SilentlyContinue -Force
$Data | add-Member "argon2d-dyn" @{alt_names = @("argon2d-dyn"); exclusions = @("add pool or miner here","comma seperated")} -ErrorAction SilentlyContinue -Force
$Data | add-Member "beamv2" @{alt_names = @("beamv2"); exclusions = @("add pool or miner here","comma seperated")} -ErrorAction SilentlyContinue -Force
$Data | add-Member "beamv2" @{alt_names = @("beamv2"); exclusions = @("add pool or miner here","comma seperated")} -ErrorAction SilentlyContinue -Force
$Data | add-Member "x12" @{alt_names = @("x12"); exclusions = @("add pool or miner here","comma seperated")} -ErrorAction SilentlyContinue -Force
}


Expand Down
2 changes: 1 addition & 1 deletion config/miners/cryptodredge.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
"x21s": "",
"lyra2rev3": "",
"x16rt": "",
"x16rv2": "8",
"x16rv2": "",
"veil": "",
"lyra2zz": "",
"mtp": "",
Expand Down

0 comments on commit d894564

Please sign in to comment.