Post
Topic
Re: [ANN] NiceHash.com - innovative professional cryptocurrency cloud mining service
by
pzero15
on 09/05/2014, 19:59:32 UTC
@Nicehash staff, I think you are abusing of the stratum method "client.reconnect". Why are you sending this? Is it really needed? It adds trouble to the stratum/tcp connection and some extra delays.
Reconnects are needed, because the stratum protocol does not implement a way to change special extranonce parameters except for on first connection.  Switching between other pool's relays requires changing these parameters.  You can use the patches or patched compiled cgminer that nicehashdev has posted and are available on git.  This implements a new command in the stratum protocol so that the reconnects are not necessary.

True, you can simply download pacthed cgminer and sgminer binaries here: https://www.nicehash.com/software and you'll get rid of these issues and better performance on NiceHash (and the same performance on other pools as if you would be using other non-nicehash cgminer/sgminer builds).

BTW: Some pools ignores connection from our extended cgminer and sgminer. We added an option to disable these "advanced features" for pools not supporting this features. One of these pools is CoinFu.

Just add "no-extranonce-subscribe" : true to the pool config for pools, that doesn't support extranonce-subscribe

Example:

Code:
       {
                "name" : "NiceHash Scrypt",
                "url" : "stratum+tcp://stratum.nicehash.com:3333",
                "user" : "btc_address",
                "pass" : "x",
                "algorithm" : "scrypt",
                "nfactor" : "10"
        },
{
                "name" : "CoinFu",
                "url" : "stratum+tcp://pool.coinfu.io:3333",
                "no-extranonce-subscribe" : true,
                "user" : "myrig_btc_address",
                "pass" : "myemail",
                "algorithm" : "scrypt",
                "nfactor" : "10"
}

Keep in mind: this only applies it you're using our cgminer and sgminer builds from https://www.nicehash.com/software !

What's the command line for "no-extranonce-subscribe : true" ?
Is it "--no-extranonce-subscribe"   ?