Lol Miner Manual

User Manual:

Open the PDF directly: View PDF PDF.
Page Count: 9

DownloadLol Miner Manual
Open PDF In BrowserView PDF
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 Name

Algorithm

FEE

AUTO144_5

Equihash 144/5

1.5%

AUTO192_7

See sections “Use Pool Selection”
and “Use a Custom Personalization
String” on the usage of this options.

Equihash 192/7

2%

AION

Aion Mainnet

Equihash 210/9

2%

ANON

Anon

Equihash 144/5

1.5%

ASF

Asofe

Equihash 144/5

1.5%

BEAM

Beam

Equihash 150/5

1%

BTCZ

BitcoinZ

Equihash 144/5

1.5%

BTG

Bitcoin Gold

Equihash 144/5

1.5%

BTH

Bithereum

Equihash 144/5

1.5%

EXCC

ExchangeCoin

Equihash 144/5 E

0%

LTZ

Litecoin Z

Equihash 144/5

1.5%

HEPTA

Heptacoin

Equihash 144/5

1.5%

MNX

MinexCoin

Equihash 96/5

1%

SAFE

SafeCoin

Equihash 144/5

1.5%

GENX

Genesis

Equihash 192/7

2%

XSG

SnowGem

Equihash 144/5

1.5%

ZEL

Zelcash

Equihash 144/5

1.5%

ZER

Zero

Equihash 192/7

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.
Use a profile
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”.

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)

Note that the path of the configuration file may be absolute, so you can place it
wherever you want on your mining rig.
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
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

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"}
]
},

Note that the first pool is separated from the second by a comma, while after the
second there is no comma between the POOLS entry and the vector end sign “]”.

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
Pool

Algorithms

Note

coinblockers.com AUTO144_5

Regular Mining Pool

nicehash.com

AUTO144_5

Hash Renting Pool

suprnova.cc

AUTO144_5, AUTO192_7 Regular Mining Pool

The list may be incomplete, but the mentioned pools are tested to be compatible.

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”,

Important note:
Using --overwritePersonal will disable the pool selection features of AUTO144_5
and AUTO192_7. Furthermore it may be that some settings are not ideal for the coin to
mine, so we encourage reporting coins that are not in the list so they get added on the
next release.

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

Mining Related Options
Device Control

Default

CMD Line: --devices 
Config File: “DEVICES” : ,

AUTO

Description
This parameter defines which GPUs to use to mine. Allowed values are:
AUTO
all GPUs in the system are used for mining
AMD

all AMD GPUs are used (works only on official drivers)

NVIDIA

all Nvidia GPUs are used (works only on official drivers)

List of
Numbers

In command line use a comma separated list of numbers to indicate
which GPUs to use. In configuration file the list is a vector.

Example
The miner will use the first, third and fourth GPU in system.
“DEVICES” : [0,2,3], Number two will be skipped.
--devices 0,2,3

Work Size (MinexCoin Only)

Default

CMD Line: --workbatch 
Config File: “workbatch” : ,

MEDIUM

Description
How many memory the GPU is allowed to use. The number can be a fixed 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.
VERYLOW

Use at most 20% of the GPU memory

LOW

Use at most 40% of the GPU memory

MEDIUM

Use at most 60% of the GPU memory

LARGE

Use at most 80% of the GPU memory

VERYLARGE

Use at most 100% (minus 100 MB) of the GPU memory

Single Number

Sets the work batch to a fixed number for all GPUS-

Example
The miner will be allowed to use all available GPU
“WORKBATCH” : “VERYHIGH”, memory
--workbatch VERYHIGH
--workbatch 16
“WORKBATCH” : 16,

The miner will use min(16, VERYLARGE) for all GPUs in
the Rig

Stratum (Pool connection) Options
Enable AION solo mining (Aion Only)

Default

CMD Line: --aionsolo <0 or 1>
Config 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
“AIONSOLO” : 1,

The miner will be able to receive target by mining.notify
stratum method as used by AION solo pool.

Control the number of connection attempts before using fail-over pool

Default

CMD Line: --connectattempts 
Config File: “CONNECTATTEMPTS” : ,

5

Description
The number defines how often the miner reconnects to a pool before hopping to a
defined fail-over pool.
Example
--connectattempts 5

The miner will do 5 connection attempts before using a fail“CONNECTATTEMPTS”:5, over pool.

Define how long the miner waits before testing primary pool again

Default

CMD Line: --waitforrewind 
Config File: “WAITFORREWIND” : ,

720

Description
The number defines 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
“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.

Define a Name for the RIG

Default

CMD Line: --rigname 
Config File: “RIGNAME” : ,

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 configuration
file. Then the variable will define a worker name regardless of the actual coin to be
mined.
Example
--rigname $HOSTNAME

On a Linux based system the environment variable
$HOSTNAME is defined 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% is defined as the name the computer is
given. So this sets every empty worker name to the system
name.

%computername%

Statistics and API Options
Turn (on) the API

Default

CMD Line: --apiport 
Config File: “APIPORT” : ,

0

Description
The number defines 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,

Turn (on) writing to a Log File

Default

CMD Line: --logs <0 or 1>
Config File: “LOGS” : <0 or 1>,

0

Description
Enables (1) or Disables (0) to make the miner write its text output to a log file. The
file 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 file.

“LOGS”:1,

Set the Statistics Intervals

Default

CMD Line: --longstats 
Config File: “LONGSTATS” : ,
CMD Line: --shortstats 

30 / 300

Config File: “SHORTSTATS” : ,

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
“LONGSTATS”:600,

The miner will print the summary stats every 10 minutes
(600 seconds)

Use a Compact Accepted Share Notification

Default

CMD Line: --shortaccept <0 or 1>
Config 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 Output

Default

CMD Line: --timeprint <0 or 1>
Config File: “TIMEPRINT” : <0 or 1>,

0

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.
Example
--timeprint 1

Will turn on the time printing.

“TIMEPRINT”:1,

Set the Decimal Digits of Mining Speed Output

Default

CMD Line: --digits 
Config File: “DIGITS” : ,

1

Description
This parameter can be used to fix the sol/s output of a GPU to a fixed 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 directory

Default

CMD Line: --kernelsdir 
Config File: “KERNELSDIR” : “”,

./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
“KERNELSDIR”:”./kernels2”,

Will make the miner look in ./kernels2 for the
OpenCL kernels.

Run the Miner in Benchmark Mode

Default

CMD Line: --benchmark 

None

Description
When using –benchmark all pool settings will be ignored and the miner will mine the
selected coin until the first long statistics output. Therefore the --longstats
parameter can be used to determine the length of the benchmark run.
Example
--benchmark MNX
--longstats 120

Will make the miner benchmark Equihash 96/5 (MinexCoin) for
two minutes.



Source Exif Data:
File Type                       : PDF
File Type Extension             : pdf
MIME Type                       : application/pdf
PDF Version                     : 1.4
Linearized                      : No
Page Count                      : 9
Language                        : en-US
Creator                         : Writer
Producer                        : LibreOffice 6.0
Create Date                     : 2019:01:23 22:17:24+01:00
EXIF Metadata provided by
EXIF.tools

Navigation menu