Skip to content

Commit

Permalink
v.1.6.8
Browse files Browse the repository at this point in the history
  • Loading branch information
MaynardMiner committed Nov 1, 2018
1 parent 7f94145 commit 9c6ff4d
Show file tree
Hide file tree
Showing 9 changed files with 58 additions and 8 deletions.
Empty file added SWARM.1.6.8.conf
Empty file.
3 changes: 2 additions & 1 deletion build/powershell/minercommand.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ function Get-Miners {
[Array]$Pools
)


$GetPoolBlock = $null
$GetAlgoBlock = $null
if(Test-Path ".\timeout\pool_block\pool_block.txt"){$GetPoolBlock = Get-Content ".\timeout\pool_block\pool_block.txt" | ConvertFrom-Json}
if(Test-Path ".\timeout\algo_block\algo_block.txt"){$GetAlgoBlock = Get-Content ".\timeout\algo_block\algo_block.txt" | ConvertFrom-Json}

Expand Down
2 changes: 1 addition & 1 deletion build/powershell/sexyunixlogo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Write-Host "
███████║╚███╔███╔╝██║ ██║██║ ██║██║ ╚═╝ ██║
╚══════╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
Parental Discretion Is Advised
v1.6.7 Unix/HiveOS
v1.6.8 Unix/HiveOS
GitHub: https://Github.com/MaynardMiner/Swarm
Expand Down
2 changes: 1 addition & 1 deletion build/powershell/sexywinlogo.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Write-Host '
███████║╚███╔███╔╝██║ ██║██║ ██║██║ ╚═╝ ██║
╚══════╝ ╚══╝╚══╝ ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝
Parental Discretion Is Advised
v1.6.7 Windows
v1.6.8 Windows
GitHub: https://Github.com/MaynardMiner/Swarm
SUDO APT-GET LAMBO
Expand Down
2 changes: 1 addition & 1 deletion config/update/amd-linux.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
"path2": ".\\bin\\tdxminer-2\\teamredminer",
"path3": ".\\bin\\tdxminer-3\\teamredminer",
"minername": "teamredminer",
"version": "0.3.1",
"version": "0.3.5",
"uri": "https://github.com/MaynardMiner/MM.Compiled-Miners/releases/download/v5.0/teamredminer-linux.tar.gz"
},

Expand Down
4 changes: 2 additions & 2 deletions h-manifest.conf
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# The name of the miner
CUSTOM_NAME=SWARM.1.6.7
CUSTOM_NAME=SWARM.1.6.8

# Optional version of your custom miner package
CUSTOM_VERSION=1.6.7
CUSTOM_VERSION=1.6.8

# Full path to miner config file
CUSTOM_CONFIG_FILENAME=/hive/custom/${CUSTOM_NAME}/${CUSTOM_NAME}.conf
Expand Down
21 changes: 20 additions & 1 deletion help files/Change.log
Original file line number Diff line number Diff line change
Expand Up @@ -825,4 +825,23 @@ but API is awaiting stats.
-Corrected Arguments in help files
added new arguments in help files.

-Fixed -recurse on timeout command
-Fixed -recurse on timeout command

1.6.8

-Added Naming to some miner .json as a test.
-Teamredminer updated + naming fixed
-Recoded background- attempted fix
-Increaded default rejections to 75%
-Added -PoolBanCount Argument
-Added -AlgoBanCount Argument
-Both above arguments define the
number of strikes required to institue
their respective bans.
-fixed a bad trigger in which if timeout
folder was deleted- Bans would not
reset unless restarted. Both -Timeout argument and
benchmark timeout commands should now work.



2 changes: 1 addition & 1 deletion swarm.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ param(
[Parameter(Mandatory=$false)]
[string]$AMDPlatform = "1",
[Parameter(Mandatory=$false)]
[Double]$Rejections = 50,
[Double]$Rejections = 75,
[Parameter(Mandatory=$false)]
[string]$PoolBans = "Yes",
[Parameter(Mandatory=$false)]
Expand Down
30 changes: 30 additions & 0 deletions test.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@

param(

)
$Method = "miners"
$Name = "t-rex"
$Param = "NVIDIA1"
$SubParam = "commands"
$Algo = "x16r"
$Command = "-i 10"

if(Test-Path ".\config\$Method\$Name.json"){$Config = Get-Content ".\config\$Method\$Name.json" | ConvertFrom-Json}
if($Config)
{
switch($Method)
{
"miners"
{
$Config.$Param.$SubParam.$Algo = $Command
}

}

}
else
{
$Message = "Could not fine $method $Name config"
$Message | Out-File ".\build\txt\configcom.txt"
Write-Host "$Message" -ForegroundColor Red
}

0 comments on commit 9c6ff4d

Please sign in to comment.