Skip to content

Arguments (Miner Configuration)

MaynardMiner edited this page Feb 12, 2020 · 41 revisions

FOR A FULL LIST OF ARGUMENTS: PLEASE GO HERE-

Miner arguments are added to either swarm(UNIX), SWARM.bat(Windows), or on miner flight sheet in extra config arguments box (HiveOS).

HIVEOS/SMOS

No launch necessary. HiveOS launched program for you. You simply need to add arguments to your flight sheet/Group. If you are lost on which arguments to use / add- both ./swarm and ./swarm.bat have "cheat" sheet of starting arguments.

Linux

Open swarm file, and edit with arguments. There is a cheat sheet inside file for bare minimum arguments. Next you launch SWARM. It is HIGHLY ADVISED if you want to use ALL features of SWARM, to use sudo ./swarm and launch as root.

Windows

Open SWARM.bat file, and edit arguments. Launch the .bat file. SWARM will handle the rest.

Sample Starting Arguments

NOTE All arguments in [] are meant to be selected by user. I am simply listing the common options that can be used.

-RigName1 Swarm -Location [US/Europe/Asia] -PoolName [blockmasters,nlpool,ahashpool,blazepool,hashrefinery,phiphipool,zergpool,zpool] -Wallet1 1DRxiWx6yuZfN9hrEJa3BDXWVJ9yyJU36i -Donate .5

If you wish to use HiveOS, add -Hive_Hash xxxxxxxxxxxxxxxxxxxxxxx , Once Background agent launches, worker should appear in HiveOS. You can then create a flight sheet for SWARM, and launch it.

SAMPLE SETUP Of ARGUMENTS FOR PROFIT SWITCHING:

Items inside of [brackets] are meant to be selected by user. The brackets[] should be removed

-RigName1 SWARM -Location [Choose one: US or Europe or Asia] -PoolName [Choose Any Number Of Pools: nlpool,blockmasters,zergpool,nicehash,fairpool,ahashpool,blazepool,hashrefinery,phiphipool,zpool] -Type [Choose where applicable: [AMD1] or [NVIDIA1] or [AMD1,NVIDIA2]] -Wallet1 [Your BTC Wallet] -Donate .5

SAMPLE SETUP OF SINGLE COIN / ALGORITHM MINING

SWARM has the ability to mine a single algorithm or coin, if supported on the pool you selected.
It will go through all stored miners capable of mining your choice, and then select the best one.
Below is a sample for x16 / RVN. If you wish to auto-exchange, simply change -PasswordCurrency1
and -Wallet1 to coin you wish to exchange to.

-RigName1 SWARM -Location US -PoolName zergpool -Algorithm x16r -Coin RVN -Type NVIDIA1 -Wallet1 1RVNsdO6iuwEHfoiuwe123hsdfljk -Donate .5 -Auto_Coin Yes -PasswordCurrency1 RVN

SAMPLE SETUP OF MULTIPLE COINS / ALGORITHMS MINING

SWARM has the ability to mine a finite number of algorithms/coins, instead of attempting to
use all available.
Below is an example to mine only RVN and XCZ on zergpool.

-RigName1 SWARM -Location US -PoolName zergpool -Algorithm x16r,mtp -Coin RVN,XCZ -Type NVIDIA1 -Wallet1 1RVNsdO6iuwEHfoiuwe123hsdfljk -Donate .5 -Auto_Coin Yes

SAMPLE SETUP OF MULTIPLE COINS / ALGORITHMS MINING WITH SOLO MINING FOR 1 Coin (Auto-Exchange).##

SWARM, on top of the ability to mine certain coins/algorithms (or all of them available), it also allows you
to solo/party mine coins on pools that allow it, and will switch to solo mode if it is the most profitable.

Below is an example of mining two coins, but specifying coin params for RVN to solo mine w/BTC auto-exchange.

-RigName1 SWARM -Location US -PoolName zergpool -Algorithm x16r,mtp -Coin RVN,XCZ -Coin_Params RVN:none:solo:exchange -Type NVIDIA1 -Wallet1 1RVNsdO6iuwEHfoiuwe123hsdfljk -Donate .5 -Auto_Coin Yes

BANS

While testing, you may find a miner/algorithm/coin/pool is undesirable, but still wish to use everything else. This is where the -Bans argument comes in. There is two different formats for bans:

-Bans [Item]

This will place a global ban on a particular item that would normally not otherwise be able to be omitted with current parameters. An example of this would be banning a miner altogether.

-Bans fancyix-1

This would ban the fancyix-1 from AMD miner list.

Maybe there is just a particular algorithm you wish to not use with that miner. This is where the second format comes into play. You can can use a divider to specify [algorithm]:[Item]

-Bans x22i:fancyix1

Now fancyix-1 will still run, but simply not use that algorithm.

You can have as many bans as you want, comma separating each item.

-Bans x16r:zpool,x22i:fancyix-1,gminer-amd-1

This will prevent mining x16r on zpool, prevent fancyix-1 mining x22i to be used, and SWARM will not use gminer-amd-1. The names of the items you can ban are simple the names listed in the get stats screen. Also, when SWARM's AI posts a message to HiveOS such as:

Ban- x16r:t-rex-1 no hash

If you notice, x16r:t-rex-1 is in the format you need to cut/copy to your flight sheet to make it permanent.

JSON Configuration

SWARM can run using a .json instead of arguments. Currently Windows requires that the .json is compressed.

You can get a .json of your current parameters with the commands:

get parameters json

get parameters json compressed

HiveOS Flight Sheet

HiveOS Flight can accept a .json for arguments. Upon starting, it will create a file name config.json in main directory, which is what SWARM will use for user parameters.

Manual Start

If using Windows or Linux, and you are not using HiveOS flight sheets, you can still use .json. You only need to simply create the file "config.json" but copy/pasting the contents of default.json (listed above), and changing parameters to your desired setup.