2014-03-06 21:59:51 +02:00
|
|
|
# Configuration and command-line options
|
|
|
|
|
|
|
|
*Work in progress!*
|
|
|
|
|
|
|
|
|
|
|
|
## Config-file and CLI options
|
|
|
|
|
|
|
|
### algorithm
|
|
|
|
|
|
|
|
Allows choosing between the few mining algorithms for incompatible
|
|
|
|
cryptocurrencies.
|
|
|
|
|
2014-04-07 23:06:56 +03:00
|
|
|
If specified in a pool section in the configuration file, sets the
|
|
|
|
option for that pool only. Otherwise sets the default.
|
|
|
|
|
2014-03-07 02:21:42 +02:00
|
|
|
*Argument:* string
|
2014-03-06 21:59:51 +02:00
|
|
|
|
2014-03-14 22:00:14 +02:00
|
|
|
*Default:* `scrypt`
|
2014-03-07 02:21:42 +02:00
|
|
|
|
|
|
|
*Supported:*
|
2014-03-06 21:59:51 +02:00
|
|
|
|
2014-03-14 22:00:14 +02:00
|
|
|
* `adaptive-n-factor` - Vertcoin-style adaptive N-factor scrypt.
|
2014-03-15 17:39:20 +02:00
|
|
|
N-factor defaults to 11. Aliases: `adaptive-nfactor` (to be removed
|
2014-03-14 22:00:14 +02:00
|
|
|
in future versions) and `nscrypt`.
|
|
|
|
* `scrypt` - Litecoin-style static N-factor scrypt.
|
|
|
|
* everything else - currently defaults to `scrypt`, subject to change
|
|
|
|
without warning.
|
2014-03-06 21:59:51 +02:00
|
|
|
|
|
|
|
### nfactor
|
|
|
|
|
2014-03-07 02:21:42 +02:00
|
|
|
Overrides the default scrypt parameter N, specified as the factor of 2
|
|
|
|
(`N = 2^nfactor`).
|
|
|
|
|
2014-04-07 23:06:56 +03:00
|
|
|
If specified in a pool section in the configuration file, sets the
|
|
|
|
option for that pool only. Otherwise sets the default.
|
|
|
|
|
2014-03-07 02:21:42 +02:00
|
|
|
*Argument:* whole number (>1).
|
|
|
|
|
|
|
|
*Default:* depends on `algorithm`; otherwise `10`.
|
|
|
|
|
2014-06-08 20:42:59 +02:00
|
|
|
### hamsi-expand-big
|
|
|
|
|
|
|
|
Sets SPH_HAMSI_EXPAND_BIG for X13 algorithms. Values `"4"` and `"1"` are
|
|
|
|
commonly used. Changing this may improve hashrate. Which value is better
|
|
|
|
depends on GPU type and even manufacturer (i.e. exact GPU model).
|
|
|
|
|
|
|
|
*Argument:* `"4"` or `"1"`
|
|
|
|
*Default:* `"4"`
|
|
|
|
|
2014-05-27 04:19:26 +02:00
|
|
|
## Pool-specific configuration
|
|
|
|
|
|
|
|
If you use any of these options for a pool, then **you must** set that option
|
|
|
|
for every pool. This is necessary due to current poor implementation of
|
|
|
|
sgminer config parser.
|
|
|
|
|
2014-05-29 02:13:41 +02:00
|
|
|
Options that can be configured have a `pool-` prefix and work the same as the
|
|
|
|
global settings:
|
|
|
|
|
|
|
|
* pool-algorithm
|
|
|
|
* pool-nfactor
|
|
|
|
* pool-intensity
|
|
|
|
* pool-xintensity
|
|
|
|
* pool-rawintensity
|
|
|
|
* pool-gpu-engine
|
|
|
|
* pool-gpu-memclock
|
|
|
|
* pool-gpu-threads
|
|
|
|
* pool-thread-concurrency
|
2014-05-29 23:20:56 +02:00
|
|
|
* pool-gpu-fan
|
2014-03-07 02:21:42 +02:00
|
|
|
|
|
|
|
## CLI-only options
|
2014-03-06 21:59:51 +02:00
|
|
|
|
2014-03-07 02:21:42 +02:00
|
|
|
*TODO*
|