From e2f73614c01df7e8be726f05ec20fbd28070acaa Mon Sep 17 00:00:00 2001 From: Tanguy Pruvot Date: Tue, 21 Jul 2015 03:11:13 +0200 Subject: [PATCH] link the no-extranonce option to the cmdline --- ccminer.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ccminer.cpp b/ccminer.cpp index 0a8c6bb..3891bc2 100644 --- a/ccminer.cpp +++ b/ccminer.cpp @@ -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[] = { { "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) 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) case 1011: allow_gbt = false; break; + case 1012: + opt_extranonce = false; + break; case 'S': case 1018: applog(LOG_INFO, "Now logging to syslog...");