1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-08 22:08:02 +00:00
Commit Graph

13 Commits

Author SHA1 Message Date
ystarnaud
bd54c59ff0 Updated example.conf 2014-06-20 16:53:00 +03:00
Noel Maersk
4f3d2edcc8 misc: set algorithm for pool in example.conf.
Also finish up what was started in f2934d8afd
2014-04-08 22:50:50 +03:00
Noel Maersk
f2934d8afd misc: set algorithm in example.conf, set GPU clocks as if there were 3 GPUs.
The example configuration is bogus anyway, but at least make it less bogus.
2014-03-15 19:21:48 +02:00
Noel Maersk
ddd3b12de5 misc: change poolname to name in example.conf. 2014-03-15 19:19:34 +02:00
Noel Maersk
4c4b909be6 doc: in example.conf, remove boolean values (and ones related to them) set to non-default states.
The config parser has a bug, and can only set boolean options to
non-default state. If a default state is given to an OPT_WITHOUT_ARG
option (as defined in the config table), it is set to the non-default state
anyway, because a CCAN function opt_set_[inv]bool() is used, which is not
meant for this.

Therefore, using such options from the command line is fine, but specifying
them in the .conf file results in above-described behaviour.

E.g., a user tests

    "api-listen" : true

in the config, but changes it later to

    "api-listen" : false

The option will be set true anyway.

A previous commit (8dd1c2d4af) has allowed
this, whereas previously only setting to true was allowed.

Currently boolead options that default to true and can be set false by
the user are explicitly defined as true, e.g.:

    bool opt_restart = true;

There is no simple or right way around this. This is an issue with the
design.
2014-02-28 03:45:11 +02:00
Noel Maersk
9eba0153e5 doc: update example.conf.
Reorder settings by category, add `poolname` and `state` to pool settings.
2014-02-27 17:15:07 +02:00
Noel Maersk
18190642fa conf: disable API by default. 2014-02-14 14:00:14 +02:00
Thomas
fad2c66766 Update example.conf 2014-02-14 00:08:11 +01:00
Con Kolivas
c01284fb07 Remove short options -r and -R to allow them to be reused and remove readme entries for deprecated options. 2012-08-20 11:58:05 +10:00
Con Kolivas
f68c91694a Remove the invalid entries from the example configuration file. 2012-04-27 10:23:47 +10:00
Con Kolivas
82f74af533 Deprecate the --donation feature.
Needlessly complex, questionable usefulness, depends on author's server and a central pool of some kind, and was not heavily adopted.
2012-02-05 21:36:41 +11:00
ckolivas
b312bd4845 Update example conf with 1% donation. 2012-01-19 09:41:15 +11:00
Con Kolivas
9a0b709623 Update documentation about new configuration file with an example file. 2011-10-17 13:51:40 +11:00