Post
Topic
Board Mining software (miners)
Re: extranonce subscription not working with cgminer 4.11.1
by
mikeywith
on 05/03/2021, 00:26:19 UTC
Code:
static char *set_url(char *arg)
{
struct pool *pool = add_url();

setup_url(pool, arg);
if (strstr(pool->rpc_url, ".nicehash.com") || strstr(pool->rpc_url, "#xnsub")) {
pool->extranonce_subscribe = true;
applog(LOG_DEBUG, "Pool %d extranonce subscribing enabled.", pool->pool_no);
}
return NULL;
}
I suppose you are using Nicehash, I believe there is a way to check if your miner has xnsub enabled or connected without it on nicehash itself, the code I quoted enables extranonce_subscribe by default when the pool you use is nicehash.com so maybe when you say "it connects without it" it actually does?