mirror of
https://github.com/GOSTSec/ccminer
synced 2025-01-09 14:28:15 +00:00
link the no-extranonce option to the cmdline
This commit is contained in:
parent
40fc2bdcbc
commit
e2f73614c0
@ -337,6 +337,7 @@ Options:\n\
|
|||||||
--no-gbt disable getblocktemplate support (height check in solo)\n\
|
--no-gbt disable getblocktemplate support (height check in solo)\n\
|
||||||
--no-longpoll disable X-Long-Polling support\n\
|
--no-longpoll disable X-Long-Polling support\n\
|
||||||
--no-stratum disable X-Stratum support\n\
|
--no-stratum disable X-Stratum support\n\
|
||||||
|
--no-extranonce disable extranonce subscribe on stratum\n\
|
||||||
-q, --quiet disable per-thread hashmeter output\n\
|
-q, --quiet disable per-thread hashmeter output\n\
|
||||||
--no-color disable colored output\n\
|
--no-color disable colored output\n\
|
||||||
-D, --debug enable debug output\n\
|
-D, --debug enable debug output\n\
|
||||||
@ -391,6 +392,7 @@ struct option options[] = {
|
|||||||
{ "intensity", 1, NULL, 'i' },
|
{ "intensity", 1, NULL, 'i' },
|
||||||
{ "ndevs", 0, NULL, 'n' },
|
{ "ndevs", 0, NULL, 'n' },
|
||||||
{ "no-color", 0, NULL, 1002 },
|
{ "no-color", 0, NULL, 1002 },
|
||||||
|
{ "no-extranonce", 0, NULL, 1012 },
|
||||||
{ "no-gbt", 0, NULL, 1011 },
|
{ "no-gbt", 0, NULL, 1011 },
|
||||||
{ "no-longpoll", 0, NULL, 1003 },
|
{ "no-longpoll", 0, NULL, 1003 },
|
||||||
{ "no-stratum", 0, NULL, 1007 },
|
{ "no-stratum", 0, NULL, 1007 },
|
||||||
@ -2787,6 +2789,7 @@ void parse_arg(int key, char *arg)
|
|||||||
break;
|
break;
|
||||||
case 1007:
|
case 1007:
|
||||||
want_stratum = false;
|
want_stratum = false;
|
||||||
|
opt_extranonce = false;
|
||||||
break;
|
break;
|
||||||
case 1008:
|
case 1008:
|
||||||
opt_time_limit = atoi(arg);
|
opt_time_limit = atoi(arg);
|
||||||
@ -2794,6 +2797,9 @@ void parse_arg(int key, char *arg)
|
|||||||
case 1011:
|
case 1011:
|
||||||
allow_gbt = false;
|
allow_gbt = false;
|
||||||
break;
|
break;
|
||||||
|
case 1012:
|
||||||
|
opt_extranonce = false;
|
||||||
|
break;
|
||||||
case 'S':
|
case 'S':
|
||||||
case 1018:
|
case 1018:
|
||||||
applog(LOG_INFO, "Now logging to syslog...");
|
applog(LOG_INFO, "Now logging to syslog...");
|
||||||
|
Loading…
Reference in New Issue
Block a user