some of you remember me complaining about
NICE_ETHASH not working. I investigated further, this is how 2.1 starts NICE_ETHASH with
ethminer:
/home/m1/NVOC/testing/miners/ethminer/latest/ethminer -P stratum+tcp://3FK6n5M7vTtAzwc1xMQAZGkdNb299VzyAw.AnyMine01:
[email protected]:3353 -U
resulting in
m1@m1-desktop:~/NVOC/testing$ /home/m1/NVOC/testing/miners/ethminer/latest/ethminer -P stratum+tcp://3CW6n5M7vTtAzwc1xMQAZGkdNb299VzyAw.LuisenMine01:
[email protected]:3353 -U
m 08:58:04|ethminer| ethminer version 0.14.0
m 08:58:04|ethminer| Build: linux / release +git. 24c65cf
cu 08:58:04|ethminer| Using grid size 8192 , block size 128
ℹ 08:58:05|ethminer| Selected pool daggerhashimoto.usa.nicehash.com:3353
m 08:58:05|ethminer| not-connected
ℹ 08:58:05|stratum | Trying 172.65.194.252:3353 ...
ℹ 08:58:05|stratum | Connected to daggerhashimoto.usa.nicehash.com [172.65.194.252:3353]
ℹ 08:58:05|stratum | Spinning up miners...
ℹ 08:58:05|cuda-0 | No work. Pause for 3 s.
ℹ 08:58:05|cuda-1 | No work. Pause for 3 s.
ℹ 08:58:05|cuda-2 | No work. Pause for 3 s.
ℹ 08:58:05|cuda-3 | No work. Pause for 3 s.
ℹ 08:58:05|cuda-4 | No work. Pause for 3 s.
ℹ 08:58:05|cuda-5 | No work. Pause for 3 s.
ℹ 08:58:05|cuda-6 | No work. Pause for 3 s.
ℹ 08:58:05|cuda-7 | No work. Pause for 3 s.
ℹ 08:58:05|stratum | Subscribed to stratum server
ℹ 08:58:05|stratum | Authorized worker 3CW6n5M7vTtAzwc1xMQAZGkdNb299VzyAw.LuisenMine01
✘ 08:58:05|stratum | Got unknown method [ mining.set_difficulty ] from pool. Discarding ...
terminate called after throwing an instance of 'boost::exception_detail::clone_impl
'
what(): BadHexCharacter
Aborted
m1@m1-desktop:~/NVOC/testing$
Here is what worked for me according to their page here:
https://www.nicehash.com/help/ethereum-mining/home/m1/NVOC/testing/miners/ethminer/latest/ethminer -SP 2 -U -S daggerhashimoto.eu.nicehash.com:3353 -O 3FK6n5M7vTtAzwc1xMQAZGkdNb299VzyAw.AnyMine01:x
If I choose
genoil this starts the process:
/home/m1/NVOC/testing/miners/Genoil-U/ethminer -S daggerhashimoto.usa.nicehash.com:3353 -O 3FK6n5M7vTtAzwc1xMQAZGkdNb299VzyAw.AnyMine01:x -SP 1 -U
but the Genoil-U folder doesn't even exist. might be because I couldn't compile Genoil because I have still cuda 8.0 on this rig but I am not sure.
In
0miner I found
bminer in the ethash protocol but it is not mentioned as an option in my 1bash. I had another failed try here:
m1@m1-desktop:~/NVOC/testing$ /home/m1/NVOC/testing/miners/bminer/latest/bminer -uri stratum+tcp://3CW6n5M7vTtAzwc1xMQAZGkdNb299VzyAw.LuisenMine01:
[email protected]:3353
invalid value "stratum+tcp://3FK6n5M7vTtAzwc1xMQAZGkdNb299VzyAw.AnyMine01:
[email protected]:3353" for flag -uri: Unsupported scheme
I'm not sure if nicehash need exceptions on the right format of parameters. E: I temporarly edited my 0miner like this in order to work:
elif [[ $ETHASH_MINER == ETHMINER ]]
then
if [[ $COIN == NICE_ETHASH ]]
then
HCD="${NVOC}/miners/ethminer/latest/ethminer -SP 2 -U -S ${!xpool}:${!xport} -O ${!xaddr}${!xwallet}${!xwork}:$MINER_PWD"
else
HCD="${NVOC}/miners/ethminer/latest/ethminer -P ${!xproto}://${!xaddr}${!xwallet}${!xwork}:$MINER_PWD@${!xpool}:${!xport} -U ${!xext} $ETHMINER_OPTS"
fi
elif [[ $ETHASH_MINER == CLAYMORE ]]
As I did I might noticed that this could be erroneous due to the stratum:// extension
You should set Ethermine new stratum protocol scheme , many Ethermine old command arguments are deprecated and not going to be used in latest 0.15.0 anymore
I suggest you to check 1bash info lines and update your 1bash and nvOC to latest.
~/NVOC/mining/miners/ETHMINER/0.14.0/ethminer --help:
-SP, --stratum-protocol
(deprecated) Choose which stratum protocol to use:
0: official stratum spec: ethpool, ethermine, coinotron, mph, nanopool (default)
1: eth-proxy compatible: dwarfpool, f2pool, nanopool (required for hashrate reporting to work with nanopool)
2: EthereumStratum/1.0.0: nicehash
-P URL Specify a pool URL. Can be used multiple times. The 1st for for the primary pool, and the 2nd for the failover pool.
URL takes the form: scheme://user[:password]@hostname:port[/emailaddress].
for getwork use one of the following schemes:
http
for stratum use one of the following schemes:
stratum+ssl stratum+tcp stratum+tls stratum+tls12 stratum1+ssl stratum1+tcp stratum1+tls stratum1+tls12 stratum2+ssl stratum2+tcp stratum2+tls stratum2+tls12
Example 1 : stratum+ssl://[email protected]:5555
Example 2 : stratum1+tcp://[email protected]:9999/[email protected]
Example 3 : stratum1+tcp://[email protected]:9999/miner1/[email protected]
~/NVOC/mining/miners/ETHMINER/0.15.0/ethminer --help:
-P,--pool TEXT ... Specify one or more pool URLs. See below for URL syntax
Pool URL Specification:
URL takes the form: scheme://user[:password]@hostname:port[/emailaddress].
for getwork use one of the following schemes:
http
for stratum use one of the following schemes:
stratum+ssl stratum+tcp stratum+tls stratum+tls12 stratum1+ssl stratum1+tcp stratum1+tls stratum1+tls12 stratum2+ssl stratum2+tcp stratum2+tls stratum2+tls12
Stratum variants:
stratum: official stratum spec: ethpool, ethermine, coinotron, mph, nanopool (default)
stratum1: eth-proxy compatible: dwarfpool, f2pool, nanopool (required for hashrate reporting to work with nanopool)
stratum2: EthereumStratum/1.0.0: nicehash
Example 1: stratum+ssl://
[email protected]:5555
Example 2: stratum1+tcp://
[email protected]:9999/
[email protected] Example 3: stratum1+tcp://
[email protected]:9999/miner1/
[email protected]1bash.template:
# Default Coin Pool Protocols is stratum+tcp, If your pool has other protocols check miner support before changing it
# stratum+ssl, stratum+tcp, stratum+tls, stratum+tls12, stratum1+ssl, stratum1+tcp, stratum1+tls, stratum1+tls12, stratum2+ssl, stratum2+tcp, stratum2+tls, stratum2+tls12
# If using bminer use these on coin pool protocols:
# Equihash Stratum: "stratum", Equihash Stratum+SSL:"stratum+ssl"
# Ethash Stratum:"ethash", Ethash Stratum+SSL:"ethash+ssl", Ethereum Proxy:"ethproxy" ethereum Stratum:"ethstratum"
# ZHash Algos like BTG: "zhash"
# Tensority based coins like BTM: "tensority"
In your case I think you should use "stratum2+tcp" for Ethermine on nicehash