|
|
@@ -156,7 +156,6 @@ static bool opt_submit_stale = true;
|
|
|
static int opt_shares;
|
|
|
static int opt_submit_threads = 0x40;
|
|
|
bool opt_fail_only;
|
|
|
-static bool opt_fix_protocol;
|
|
|
bool opt_autofan;
|
|
|
bool opt_autoengine;
|
|
|
bool opt_noadl;
|
|
|
@@ -1084,9 +1083,6 @@ static struct opt_table opt_config_table[] = {
|
|
|
OPT_WITHOUT_ARG("--failover-only",
|
|
|
opt_set_bool, &opt_fail_only,
|
|
|
"Don't leak work to backup pools when primary pool is lagging"),
|
|
|
- OPT_WITHOUT_ARG("--fix-protocol",
|
|
|
- opt_set_bool, &opt_fix_protocol,
|
|
|
- "Do not redirect to a different getwork protocol (eg. stratum)"),
|
|
|
#ifdef HAVE_OPENCL
|
|
|
OPT_WITH_ARG("--gpu-dyninterval",
|
|
|
set_int_1_to_65535, opt_show_intval, &opt_dynamic_interval,
|
|
|
@@ -5156,7 +5152,7 @@ tryagain:
|
|
|
|
|
|
/* Detect if a http getwork pool has an X-Stratum header at startup,
|
|
|
* and if so, switch to that in preference to getwork if it works */
|
|
|
- if (pool->stratum_url && !opt_fix_protocol && want_stratum && (pool->has_stratum || stratum_works(pool))) {
|
|
|
+ if (pool->stratum_url && want_stratum && (pool->has_stratum || stratum_works(pool))) {
|
|
|
curl_easy_cleanup(curl);
|
|
|
|
|
|
if (!pool->has_stratum) {
|