Browse Source

link the no-extranonce option to the cmdline

master
Tanguy Pruvot 9 years ago
parent
commit
e2f73614c0
  1. 6
      ccminer.cpp

6
ccminer.cpp

@ -337,6 +337,7 @@ Options:\n\ @@ -337,6 +337,7 @@ Options:\n\
--no-gbt disable getblocktemplate support (height check in solo)\n\
--no-longpoll disable X-Long-Polling 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\
--no-color disable colored output\n\
-D, --debug enable debug output\n\
@ -391,6 +392,7 @@ struct option options[] = { @@ -391,6 +392,7 @@ struct option options[] = {
{ "intensity", 1, NULL, 'i' },
{ "ndevs", 0, NULL, 'n' },
{ "no-color", 0, NULL, 1002 },
{ "no-extranonce", 0, NULL, 1012 },
{ "no-gbt", 0, NULL, 1011 },
{ "no-longpoll", 0, NULL, 1003 },
{ "no-stratum", 0, NULL, 1007 },
@ -2787,6 +2789,7 @@ void parse_arg(int key, char *arg) @@ -2787,6 +2789,7 @@ void parse_arg(int key, char *arg)
break;
case 1007:
want_stratum = false;
opt_extranonce = false;
break;
case 1008:
opt_time_limit = atoi(arg);
@ -2794,6 +2797,9 @@ void parse_arg(int key, char *arg) @@ -2794,6 +2797,9 @@ void parse_arg(int key, char *arg)
case 1011:
allow_gbt = false;
break;
case 1012:
opt_extranonce = false;
break;
case 'S':
case 1018:
applog(LOG_INFO, "Now logging to syslog...");

Loading…
Cancel
Save