EN
Official user manual

lolMiner Documentation

9 pages·140 KB·Software·PDF·ENDEFRITNLJA
lolMiner Documentation
Table of Contents 14 sections lolMiner 0.7 alpha 3 · Manual · Quickstart · Using the Configuration File · … ShowHide
Page 1 of the lolMiner Documentation user manual — Quickstart
Page 1 · click to enlarge
Page 1

lolMiner 0.7 alpha 3

Manual

Quickstart

The easiest way to start lolMiner is from command line. Just open the terminal (Linux) or cmd (Windows) and navigate to the directory where you unpacked the archive. Then the minimal command line input & parameters to run lolMiner are given by

./lolMiner --coin --pool --port --user --pass (Linux)

lolMiner.exe --coin --pool --port --user --pass (Windows)

In this list the parameters are used as follows:

--coin: The parameter tells lolMiner which coin to mine. lolMiner will select internal settings as the required algorithm, stratum connection, developer fee and other relevant setting according to this parameter. The first column of the following table gives the accepted values for –coin as of lolMiner 0.7:

Short Name Full Coin NameAlgorithmFEE AUTO144 5 See _ and AUTO192 7 Str _sections “Use Pool Selection” “Use a Custom Personalization ing” on the usage of this options.Equihash 144/51.5% Equihash 192/72% AION Aion MainnetEquihash 210/92% ANON AnonEquihash 144/51.5% ASF AsofeEquihash 144/51.5% BEAM BeamEquihash 150/51% BTCZ BitcoinZEquihash 144/51.5% BTG Bitcoin GoldEquihash 144/51.5% BTH BithereumEquihash 144/51.5% EXCC ExchangeCoinEquihash 144/5 E0 % LTZ Litecoin ZEquihash 144/51.5% HEPTA HeptacoinEquihash 144/51.5% MNX MinexCoinEquihash 96/51% SAFE SafeCoinEquihash 144/51.5% GENX GenesisEquihash 192/72% XSG SnowGemEquihash 144/51.5% ZEL ZelcashEquihash 144/51.5% ZER ZeroEquihash 192/72%
Page 2 of the lolMiner Documentation user manual — Using the Configuration File
Page 2 · click to enlarge
Page 2

--pool and --port This parameters define to which pool address and port the miner will connect. For connection setting look up your mining pools recommendations.

--user and --pass For pools that require a login use here your username and worker name in the format UserName.WorkerName and give the worker password with --pass. If the pool is anonymous replace UserName by your wallet address. In case that the pool does not require a password you can run without a password. It is defaulted as “x”.

Example: Assume we want to mine Beam (BEAM) on leafpool.com. Then a valid command line argument could look like

lolMiner.exe --coin BEAM --pool beam-eu.leafpool.com --port 3333 --user 14424e5b03b3f4568494f54c982840a29c8a75226360d0940d1f51364d38b6ee6.lolMiner

Using the Configuration File

A comfort way to use lolMiner is the use of a configuration file. The default configuration file looked for is “user_config.json” that is a plain text file in json format. One example on how this file may look like is shipped with the miner.

The data in the configuration file is organized in profiles. At the top of the file there is one profile called “default” or “DEFAULT” (note: parameters in the configuration file is NOT case sensitive). This profile has the purpose to set general variables that shall be used whenever the miner is running. Not when parameters are conflicting the order in priority (ascending) is

- DEFAULT profile - any custom profile setting - command line parameter

So single default settings can be overwritten by adding the same parameter to the command line or re-set it in the custom profiles.

To make lolMiner to use a profile add --profile to the command line. For example to run the “EXAMPLE_BTG” profile from the “user_config.json” shipped with the software start the miner by

lolMiner.exe --profile EXAMPLE_BTG (Windows, Linux analogously)

This will cause lolMiner to load the default profile and use both settings from default and EXAMPLE_BTG where the latter has higher priority.

Change the used Configuration File

Some mining pools, e.g. coinblockers.com give an almost ready to use configuration file to be used with lolMiner. If you do not want to overwrite your original file you may download these files and given them a unique name, e.g. “coinblockers_config.json”.

Use a profile

Page 3 of the lolMiner Documentation user manual — Configuring Fail-Over Pools
Page 3 · click to enlarge
Page 3

Then you can make lolMiner to use this new config file by the parameter --usercfg.

Example: To mine ZelCash on coinblockers.com you must download the provided configuration file and store it as “coinblockers_config.json”. Then you should open it in a text editor and insert your wallet data in the “ZEL” profile. Finally run lolMiner from command line by using.

lolMiner.exe --usercfg ./coinblockers_config.json --profile ZEL (Linux analogously)

Modify the Configuration File

Generally every entry of the configuration file is of type “PARAMETER” : VALUE. Note that value may be a string, indicated by “” signs, an integer number or a more complex structure like vectors [VALUE,VALUE]. The parameter is not case sensitive while the value may be.

Each line within a profile must be ended with a comma ‘,’ except for the last line within a profile. Also profiles must be separated by a comma unless it is the last one. Finally vector entries must be separated by comma but again without a final comma at the end of the vector. The json parser is very sensitive for syntax errors, so a complain of it is likely a misplaced or missing comma.

For valid parameters to be set see below in the “More lolMiner parameters” section in this document.

Generally the parameters in the configuration file have the same spelling as in the command line, except for pool data. Regarding the values the only difference is the use of “” to indicate strings and [] to indicate vectors. For pool data see the section about fail-over pools below.

Configuring Fail-Over Pools

lolMiner features the ability to switch to an other pool when the connection to the primary pool gets lost or is disconnecting too often. In this section is described how to give multiple connection data to use this feature.

In command line the entries --pool, --port, --user and --pass may be vectors where the entries are separated by semicolons. Note that it is intentional that this is the only case where semicolons are used instead of comma, because some passwords need to include commas. Note that all vectors need to be of the same length, i.e. --pool must have same number of elements then --port and so on. If --pass is not given it is assumed the password is always “x” on all entries.

Example: The following example will configure lolMiner to mine AION on na.aionmine.org on port 9999. As a backup the eu server is configured on port 3333. We left out the --user

In Command Line

Page 4 of the lolMiner Documentation user manual — Use Pool Selection
Page 4 · click to enlarge
Page 4

settings because AION addresses are very long and printing two of them looks horrible in an A4 print document ;)

./lolMiner.exe --coin AION --pool na.aionmine.org;eu.aionmine.org --port 9999;3333 --user … (Linux analogously)

In the Configuration File

The configuration file uses the entry “POOLS” for defining the normal pools as well as fail-over pools. The “POOLS” entry is a vector that has entries encapsulating “POOL”, “PORT”, “USER” and “PASS” for each pool as individual entries for each pool.

The following example again configures for the same pools as in the command line example:

"EXAMPLE_AION" : {

"COIN" : "AION", "POOLS" : [ {"POOL" : "na.aionmine.org", "PORT" : "9999", "USER" : "0xa0e1ff18f69eac5d17fc8c5ac078739d64cc0a8ae2f84b7ca6d… "PASS" : "x"}, {"POOL" : "eu.aionmine.org", "PORT" : "3333", "USER" : "0xa0e1ff18f69eac5d17fc8c5ac078739d64cc0a8ae2f84b7ca6d… "PASS" : "x"} ] },

Use Pool Selection

The two coin profiles AUTO144_5 and AUTO192_7 allow lolMiner to recognize an extension of the stratum protocol where the mining pool sends the settings for the coin to mine among with the rest of the work description. Here the AUTO144_5 setting is for Equihash 144/5 while Equihash 192/7 can be mined with AUTO192_7.

This has the advantage that the --coin parameter can not be mis-configured. Also some pools use this to change the coin to be mined when the miner is connected – this is for example useful for auto-exchange pools that try to maximize profitability.

As of writing this document the following pools support the mentioned extension

PoolAlgorithmsNote coinblockers.comAUTO144 5 _Regular Mining Pool nicehash.comAUTO144 5 _Hash Renting Pool suprnova.ccAUTO144 5, AUTO192 7 _ _Regular Mining Pool
Page 5 of the lolMiner Documentation user manual — Mining Related Options
Page 5 · click to enlarge
Page 5

Use a Custom Personalization String

In case that a coin using Equihash 144/5 or 192/7 is NOT listed in the table in the quick-start section it may still be possible to mine it with lolMiner.

In order to do so use --coin AUTO144_5 or --coin AUTO192_7 respectively. Then use the parameter --overwritePersonal to set the coins personalization string.

For example if a coin uses Equihash 144_5 and the personalization string “C01N_PoW” then you can mine it by using

lolMiner.exe --coin AUTO144_5 --overwritePersonal C01N_PoW (Linux analogously)

When using a configuration file the needed setting is “COIN” : “AUTO144_5”, “OVERWRITEPERSONAL” : “C01N_PoW”,

Further lolMiner options

The following tables lists the other options for lolMiner sorted by their purpose.

Mining Related Options

Device ControlDefault CMD Line: --devices <numbers or special value> Confgi File: “DEVICES” : <numbers or special value>,AUTO Description This parameter defni es which GPUs to use to mine. Allowed values are: AUTOall GPUs in the system are used for mining AMDall AMD GPUs are used (works only on ofcfi ial drivers) NVIDIAall Nvidia GPUs are used (works only on ofcfi ial drivers) List of NumbersIn command line use a comma separated list of numbers to indicate which GPUs to use. In confgi uration fli e the list is a vector. Example --devices 0,2,3 The miner will use the fri st, third and fourth GPU in system. Number two will be skipped. “DEVICES” : [0,2,3],
Page 6 of the lolMiner Documentation user manual — Stratum (Pool connection) Options
Page 6 · click to enlarge
Page 6
Work Size (MinexCoin Only)Default CMD Line: --workbatch <numbers or special value> Confgi File: “workbatch” : <numbers or special value>,MEDIUM Description How many memory the GPU is allowed to use. The number can be a fxi ed value that scales with the amount of memory to be used. Note for best performance a value that is a multiple of 2 is required. VERYLOWUse at most 20% of the GPU memory LOWUse at most 40% of the GPU memory MEDIUMUse at most 60% of the GPU memory LARGEUse at most 80% of the GPU memory VERYLARGEUse at most 100% (minus 100 MB) of the GPU memory Single NumberSets the work batch to a fxi ed number for all GPUS- Example --workbatch VERYHIGH The miner will be allowed to use all available GPU memory “WORKBATCH” : “VERYHIGH”, --workbatch 16 The miner will use min(16, VERYLARGE) for all GPUs in the Rig “WORKBATCH” : 16,

Stratum (Pool connection) Options

Enable AION solo mining (Aion Only)Default CMD Line: --aionsolo <0 or 1> Confgi File: “AIONSOLO” : <0 or 1>,0 Description Switches on the compatibility to the AION solo mining pool software. 0 is off, 1 is on. Example --aionsolo 1 The miner will be able to receive target by mining.notify stratum method as used by AION solo pool. “AIONSOLO” : 1,
Control the number of connection attempts before using fail-over poolDefault CMD Line: --connectattempts <number> Confgi File: “CONNECTATTEMPTS” : <number>,5 Description The number defni es how often the miner reconnects to a pool before hopping to a defni ed fail-over pool. Example --connectattempts 5 The miner will do 5 connection attempts before using a failover pool. “CONNECTATTEMPTS”:5,
Page 7 of the lolMiner Documentation user manual — Statistics and API Options
Page 7 · click to enlarge
Page 7
Define how long the miner waits before testing primary pool againDefault CMD Line: --waitforrewind <number> Confgi File: “WAITFORREWIND” : <number>,720 Description The number defni es how long the miner should wait (in minutes) before giving a single attempt to reconnect to the primary pool. Setting the number to 0 will switch of testing if the original pool is reachable. Example --waitforrewind 0 The miner will no longer try to reconnect to the original pool when it is mining on one of the fail-over pools. “WAITFORREWIND”:0,
Define a Name for the RIGDefault CMD Line: --rigname <string> Confgi File: “RIGNAME” : <STRING>,Not set Description This parameter allows to set a name for the mining rig. When in the --user parameter no name is set as a worker name, the value of --rigname will be inserted automatically. Else if a worker name is set in --user, --rigname will be ignored. A convenient way is to put the variable into the default section of the confgi uration flie. Then the variable will defni e a worker name regardless of the actual coin to be mined. Example --rigname $HOSTNAME On a Linux based system the environment variable $HOSTNAME is defni ed as the name the computer is given. So this sets every empty worker name to the system name. --rigname On a Windows based system the environment variable %computername% %computername% is defni ed as the name the computer is given. So this sets every empty worker name to the system name.

Statistics and API Options

Turn (on) the APIDefault CMD Line: --apiport <number> Confgi File: “APIPORT” : <number>,0 Description The number defni es the port used by the lolMiner API. The API gives some basic statistics in JSON format about the miner when connecting via TCP / IP. Giving a port number of 0 will deactivate the API. The api will then be available by calling the host and port and the http address /summary, e.g. localhost:8080/summary Example --apiport 8080 The miner will open the API port 8080.You can for example connect via localhost:8080/summary “APIPORT”:8080,
Page 8 of the lolMiner Documentation user manual — Statistics and API Options
Page 8 · click to enlarge
Page 8
Turn (on) writing to a Log FileDefault CMD Line: --logs <0 or 1> Confgi File: “LOGS” : <0 or 1>,0 Description Enables (1) or Disables (0) to make the miner write its text output to a log fli e. The fli e will be located in the “logs” directory at the miner location and will be named by the date and time the miner started. Example --logs 1 The miner will write its text output to a log fli e. “LOGS”:1,
Set the Statistics IntervalsDefault CMD Line: --longstats <number> Confgi File: “LONGSTATS” : <number>, CMD Line: --shortstats <number> Config File: “SHORTSTATS” : <number>,30 / 300 Description This two parameters control the length between two statistics show. The longer interval statistics is shown with a blue color, the shorter only black and while. Setting an interval length of 0 will disable the corresponding statistics output. Note: disabling the short statistics output will also disable the shortaccept option (see below). Also the intervals are used for updating the API output. Example --longstats 600 The miner will print the summary stats every 10 minutes (600 seconds) “LONGSTATS”:600,
Use a Compact Accepted Share NotificationDefault CMD Line: --shortaccept <0 or 1> Confgi File: “SHORTACCEPT” : <0 or 1>,0 Description When setting this parameter to 1, lolMiner will replace the “submitting share / share accepted” message pair by * symbols at the short statistics interval output. Every star stands for an accepted share. Example --shortaccept 1 Will turn on the compact accept representation. “SHORTACCEPT”:1,
Enable Time Stemps for Statistics OutputDefault CMD Line: --timeprint <0 or 1> Confgi File: “TIMEPRINT” : <0 or 1>,0
Page 9 of the lolMiner Documentation user manual — Misc Options
Page 9 · click to enlarge
Page 9

Description Setting this parameter to 1 will activate the current daytime to be printed in the command-line console at each statistics output. This is true for command line as well as the log file when used.

--timeprint 1 Will turn on the time printing.

“TIMEPRINT”:1,

Set the Decimal Digits of Mining Speed OutputDefault CMD Line: --digits <number> Confgi File: “DIGITS” : <number>,1 Description This parameter can be used to fxi the sol/s output of a GPU to a fxi ed number of digits after the decimal delimiter. For example “DIGITS” : 0 will chop of all digits after the decimal delimiter. Example --digits 0 Will make the miner only to print full integer numbers. “DIGITS”:0,

Misc Options

Change the Location of the kernels directoryDefault CMD Line: --kernelsdir <directory string> Confgi File: “KERNELSDIR” : “<directory string>”,./kernels Description This parameter can be used to set a new location for the kernel directory. Absolute path are allowed, so you can freely place it when needed. Example --kernelsdir ./kernels2 Will make the miner look in ./kernels2 for the OpenCL kernels. “KERNELSDIR”:”./kernels2”,
Run the Miner in Benchmark ModeDefault CMD Line: --benchmark <a coin shortcut>None Description When using –benchmark all pool settings will be ignored and the miner will mine the selected coin until the fri st long statistics output. Therefore the --longstats parameter can be used to determine the length of the benchmark run. Example --benchmark MNX Will make the miner benchmark Equihash 96/5 (MinexCoin) for --longstats 120 two minutes.
Sources

References & links

Pages referenced in this manual — manufacturer, support and downloads.

Ask about the lolMiner Documentation

Owners and our team usually reply within a day — and your question helps the next person too.

Add your email to get notified when it’s answered — no spam, ever.

0 questions
No questions yet about the lolMiner Documentation

Be the first to ask — other owners or our team will answer.

Original document

lolMiner Documentation manual PDF

9 pages·140 KB·Software·PDF
Click any page above to open it here
Page 1 / …
100%
Loading pages…