Page 1 of 3

Qubit algorithm for connectivity with NH

Posted: Mon Sep 30, 2019 7:35 am
by ip019
Hello,

Can you correct your stratum server port 3448 for Nicehash compatibility?

Several hours ago almost all active orders has switched to died status.
New orders also doesn't start with status:
prohashing.com:3448 Disconnected. Pool difficulty too low.

I suppose Nicehash has change the minimum difficulty setting for the qubit algorithm.

Thank you!

Re: Qubit algorithm for connectivity with NH

Posted: Mon Sep 30, 2019 9:22 am
by Steve Sokolowski
Thanks for this report. I'll investigate this issue later today, after I address two other problems that have been reported. Look back here in about 12 hours.

Re: Qubit algorithm for connectivity with NH

Posted: Tue Oct 01, 2019 11:59 pm
by ip019
Hello, Steve!

Nothing changed :(

Re: Qubit algorithm for connectivity with NH

Posted: Wed Oct 02, 2019 8:54 am
by Steve Sokolowski
ip019 wrote: Tue Oct 01, 2019 11:59 pm Hello, Steve!

Nothing changed :(
I'm aware of that, and I apologize. We have a lot of other tickets that I'm working on at the moment, and I appreciate your patience while these other issues are resolved. Thanks!

Re: Qubit algorithm for connectivity with NH

Posted: Wed Oct 02, 2019 10:07 am
by ip019
I have some new information for you.
New order successfully started if d=4 parameter is added to the password field: (a=qubit,d=4)
This indicates a problem with minimal difficulty settings on your side.

Re: Qubit algorithm for connectivity with NH

Posted: Wed Oct 02, 2019 2:01 pm
by Steve Sokolowski
ip019 wrote: Wed Oct 02, 2019 10:07 am I have some new information for you.
New order successfully started if d=4 parameter is added to the password field: (a=qubit,d=4)
This indicates a problem with minimal difficulty settings on your side.
Thanks for the update. I confirmed that the difficulties being provided are incorrect, but have not yet been able to determine the cause of the problem. I'll continue some research and get back to you when I have more.

Re: Qubit algorithm for connectivity with NH

Posted: Wed Oct 02, 2019 3:42 pm
by Steve Sokolowski
ip019 wrote: Tue Oct 01, 2019 11:59 pm Hello, Steve!

Nothing changed :(
OK, I was able to look into this issue and draw conclusions. It turns out that the cause of the problem is that the server can't contact the Nicehash API that returns the difficulties they require. I confirmed that the mining server does not have a bug by accessing the API from my house, and also by confirming that I can't get the page from the mining server using different software. Furthermore, as you can see, a ping succeeds, so there is not a routing issue with the mining servers:

Code: Select all

wget https://api.nicehash.com/api?method=buy.info
--2019-10-02 15:26:25--  https://api.nicehash.com/api?method=buy.info
Resolving api.nicehash.com (api.nicehash.com)... 104.16.84.46, 104.16.83.46, 2606:4700::6810:542e, ...
Connecting to api.nicehash.com (api.nicehash.com)|104.16.84.46|:443... connected.
HTTP request sent, awaiting response... ^C
stratum@prod2-stratum5:~/stratum-mining$ ping 104.16.84.46
PING 104.16.84.46 (104.16.84.46) 56(84) bytes of data.
64 bytes from 104.16.84.46: icmp_seq=1 ttl=55 time=3.56 ms
64 bytes from 104.16.84.46: icmp_seq=2 ttl=55 time=3.29 ms
64 bytes from 104.16.84.46: icmp_seq=3 ttl=55 time=3.62 ms
64 bytes from 104.16.84.46: icmp_seq=4 ttl=55 time=3.32 ms
64 bytes from 104.16.84.46: icmp_seq=5 ttl=55 time=3.32 ms
64 bytes from 104.16.84.46: icmp_seq=6 ttl=55 time=3.63 ms
^C
--- 104.16.84.46 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 14ms
rtt min/avg/max/mdev = 3.289/3.456/3.634/0.169 ms
For some reason, only this specific server is not able to contact only Nicehash's API.

Unfortunately, I'm not sure how to proceed with this process, since I have not been able to find a way to contact Nicehash. They removed their ticket system and E-Mail address from their website's support page.

Re: Qubit algorithm for connectivity with NH

Posted: Wed Oct 02, 2019 8:25 pm
by cc4506

Re: Qubit algorithm for connectivity with NH

Posted: Wed Oct 02, 2019 9:19 pm
by ryguy
Steve Sokolowski wrote: Wed Oct 02, 2019 3:42 pm
ip019 wrote: Tue Oct 01, 2019 11:59 pm Hello, Steve!

Nothing changed :(
OK, I was able to look into this issue and draw conclusions. It turns out that the cause of the problem is that the server can't contact the Nicehash API that returns the difficulties they require. I confirmed that the mining server does not have a bug by accessing the API from my house, and also by confirming that I can't get the page from the mining server using different software. Furthermore, as you can see, a ping succeeds, so there is not a routing issue with the mining servers:

Code: Select all

wget https://api.nicehash.com/api?method=buy.info
--2019-10-02 15:26:25--  https://api.nicehash.com/api?method=buy.info
Resolving api.nicehash.com (api.nicehash.com)... 104.16.84.46, 104.16.83.46, 2606:4700::6810:542e, ...
Connecting to api.nicehash.com (api.nicehash.com)|104.16.84.46|:443... connected.
HTTP request sent, awaiting response... ^C
stratum@prod2-stratum5:~/stratum-mining$ ping 104.16.84.46
PING 104.16.84.46 (104.16.84.46) 56(84) bytes of data.
64 bytes from 104.16.84.46: icmp_seq=1 ttl=55 time=3.56 ms
64 bytes from 104.16.84.46: icmp_seq=2 ttl=55 time=3.29 ms
64 bytes from 104.16.84.46: icmp_seq=3 ttl=55 time=3.62 ms
64 bytes from 104.16.84.46: icmp_seq=4 ttl=55 time=3.32 ms
64 bytes from 104.16.84.46: icmp_seq=5 ttl=55 time=3.32 ms
64 bytes from 104.16.84.46: icmp_seq=6 ttl=55 time=3.63 ms
^C
--- 104.16.84.46 ping statistics ---
6 packets transmitted, 6 received, 0% packet loss, time 14ms
rtt min/avg/max/mdev = 3.289/3.456/3.634/0.169 ms
For some reason, only this specific server is not able to contact only Nicehash's API.

Unfortunately, I'm not sure how to proceed with this process, since I have not been able to find a way to contact Nicehash. They removed their ticket system and E-Mail address from their website's support page.
If the problem is with Nicehash specifically, then why does the high difficulty port (3448) for Qubit return a starting difficulty of 1 when connecting from other locations? I was under the impression that the two ports provided different starting variable diffs.

Re: Qubit algorithm for connectivity with NH

Posted: Thu Oct 03, 2019 12:15 am
by ip019
Nicehash uses new API for the new platform. Old platform with v1 API does not work since 4 august 2019
I suppose you must change all difficulty check for all algorithms you use.

Here is the documentation for API v2: https://docs.nicehash.com/

wget https://api2.nicehash.com/main/api/v2/m ... lgorithms/

root@ubuntu:~/nicehash/_api$ ./api2.sh mining_algorithms
{
"miningAlgorithms": [
{
"algorithm": "SCRYPT",
"title": "Scrypt",
"enabled": true,
"order": 0,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.001",
"minimalPoolDifficulty": "500000",
"port": 3333,
"color": "#AFAFAF",
"ordersEnabled": true
},
{
"algorithm": "SHA256",
"title": "SHA256",
"enabled": true,
"order": 1,
"displayMiningFactor": "TH",
"miningFactor": "1000000000000",
"displayMarketFactor": "PH",
"marketFactor": "1000000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.05",
"maxSpeedLimit": "50000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "500000",
"port": 3334,
"color": "#FBC342",
"ordersEnabled": true
},
{
"algorithm": "X11",
"title": "X11",
"enabled": true,
"order": 3,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.1",
"maxSpeedLimit": "100000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "31",
"port": 3336,
"color": "#2CDB2C",
"ordersEnabled": true
},
{
"algorithm": "X13",
"title": "X13",
"enabled": true,
"order": 4,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "0.5",
"port": 3337,
"color": "#E36700",
"ordersEnabled": true
},
{
"algorithm": "KECCAK",
"title": "Keccak",
"enabled": true,
"order": 5,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "2047",
"port": 3338,
"color": "#C5B061",
"ordersEnabled": true
},
{
"algorithm": "NIST5",
"title": "Nist5",
"enabled": true,
"order": 7,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "2",
"port": 3340,
"color": "#D44498",
"ordersEnabled": true
},
{
"algorithm": "NEOSCRYPT",
"title": "NeoScrypt",
"enabled": true,
"order": 8,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "GH",
"marketFactor": "1000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "16383",
"port": 3341,
"color": "#4F7B8A",
"ordersEnabled": true
},
{
"algorithm": "QUBIT",
"title": "Qubit",
"enabled": true,
"order": 11,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.1",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "4",
"port": 3344,
"color": "#0066CC",
"ordersEnabled": true
},
{
"algorithm": "QUARK",
"title": "Quark",
"enabled": true,
"order": 12,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "0.1",
"port": 3345,
"color": "#ca435c",
"ordersEnabled": true
},
{
"algorithm": "LYRA2REV2",
"title": "Lyra2REv2",
"enabled": true,
"order": 14,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.1",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "256",
"port": 3347,
"color": "#3A9A56",
"ordersEnabled": true
},
{
"algorithm": "DAGGERHASHIMOTO",
"title": "DaggerHashimoto",
"enabled": true,
"order": 20,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "1",
"port": 3353,
"color": "#786FA4",
"ordersEnabled": true
},
{
"algorithm": "DECRED",
"title": "Decred",
"enabled": true,
"order": 21,
"displayMiningFactor": "GH",
"miningFactor": "1000000000",
"displayMarketFactor": "PH",
"marketFactor": "1000000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "1",
"port": 3354,
"color": "#2971FF",
"ordersEnabled": true
},
{
"algorithm": "CRYPTONIGHT",
"title": "CryptoNight",
"enabled": true,
"order": 22,
"displayMiningFactor": "kH",
"miningFactor": "1000",
"displayMarketFactor": "GH",
"marketFactor": "1000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "6400000",
"port": 3355,
"color": "#FF7D27",
"ordersEnabled": true
},
{
"algorithm": "LBRY",
"title": "Lbry",
"enabled": true,
"order": 23,
"displayMiningFactor": "GH",
"miningFactor": "1000000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "10",
"maxSpeedLimit": "10000000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "4095",
"port": 3356,
"color": "#2B9178",
"ordersEnabled": true
},
{
"algorithm": "EQUIHASH",
"title": "Equihash",
"enabled": true,
"order": 24,
"displayMiningFactor": "Sol",
"miningFactor": "1",
"displayMarketFactor": "MSol",
"marketFactor": "1000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.1",
"maxSpeedLimit": "100000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "65534",
"port": 3357,
"color": "#3B9FE3",
"ordersEnabled": true
},
{
"algorithm": "BLAKE2S",
"title": "Blake2s",
"enabled": true,
"order": 28,
"displayMiningFactor": "GH",
"miningFactor": "1000000000",
"displayMarketFactor": "TH",
"marketFactor": "1000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "1",
"maxSpeedLimit": "1000000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "128",
"port": 3361,
"color": "#007F0E",
"ordersEnabled": true
},
{
"algorithm": "SKUNK",
"title": "Skunk",
"enabled": true,
"order": 29,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "GH",
"marketFactor": "1000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.2",
"maxSpeedLimit": "200000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "0.04",
"port": 3362,
"color": "#007888",
"ordersEnabled": true
},
{
"algorithm": "CRYPTONIGHTV7",
"title": "CryptoNightV7",
"enabled": true,
"order": 30,
"displayMiningFactor": "kH",
"miningFactor": "1000",
"displayMarketFactor": "MH",
"marketFactor": "1000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "400000",
"port": 3363,
"color": "#ff7519",
"ordersEnabled": true
},
{
"algorithm": "CRYPTONIGHTHEAVY",
"title": "CryptoNightHeavy",
"enabled": true,
"order": 31,
"displayMiningFactor": "kH",
"miningFactor": "1000",
"displayMarketFactor": "MH",
"marketFactor": "1000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "400000",
"port": 3364,
"color": "#FF2000",
"ordersEnabled": true
},
{
"algorithm": "LYRA2Z",
"title": "Lyra2Z",
"enabled": true,
"order": 32,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "GH",
"marketFactor": "1000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "1",
"maxSpeedLimit": "50000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "16",
"port": 3365,
"color": "#3A9A99",
"ordersEnabled": true
},
{
"algorithm": "X16R",
"title": "X16R",
"enabled": true,
"order": 33,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "GH",
"marketFactor": "1000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.1",
"maxSpeedLimit": "100000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "8",
"port": 3366,
"color": "#384182",
"ordersEnabled": true
},
{
"algorithm": "CRYPTONIGHTV8",
"title": "CryptoNightV8",
"enabled": true,
"order": 34,
"displayMiningFactor": "kH",
"miningFactor": "1000",
"displayMarketFactor": "MH",
"marketFactor": "1000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "400000",
"port": 3367,
"color": "#34435B",
"ordersEnabled": true
},
{
"algorithm": "SHA256ASICBOOST",
"title": "SHA256AsicBoost",
"enabled": true,
"order": 35,
"displayMiningFactor": "TH",
"miningFactor": "1000000000000",
"displayMarketFactor": "PH",
"marketFactor": "1000000000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.1",
"maxSpeedLimit": "100000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "500000",
"port": 3368,
"color": "#fbc342",
"ordersEnabled": true
},
{
"algorithm": "ZHASH",
"title": "ZHash",
"enabled": true,
"order": 36,
"displayMiningFactor": "Sol",
"miningFactor": "1",
"displayMarketFactor": "MSol",
"marketFactor": "1000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "1024",
"port": 3369,
"color": "#690BBB",
"ordersEnabled": true
},
{
"algorithm": "BEAM",
"title": "Beam",
"enabled": true,
"order": 37,
"displayMiningFactor": "Sol",
"miningFactor": "1",
"displayMarketFactor": "kSol",
"marketFactor": "1000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "1",
"maxSpeedLimit": "1000000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "1024",
"port": 3370,
"color": "#00ACAC",
"ordersEnabled": true
},
{
"algorithm": "GRINCUCKAROO29",
"title": "GrinCuckaroo29",
"enabled": true,
"order": 38,
"displayMiningFactor": "G",
"miningFactor": "1",
"displayMarketFactor": "kG",
"marketFactor": "1000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.1",
"maxSpeedLimit": "100000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "64",
"port": 3371,
"color": "#FEF102",
"ordersEnabled": true
},
{
"algorithm": "GRINCUCKATOO31",
"title": "GrinCuckatoo31",
"enabled": true,
"order": 39,
"displayMiningFactor": "G",
"miningFactor": "1",
"displayMarketFactor": "kG",
"marketFactor": "1000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.02",
"maxSpeedLimit": "20000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "64",
"port": 3372,
"color": "#FDF89D",
"ordersEnabled": true
},
{
"algorithm": "LYRA2REV3",
"title": "Lyra2REv3",
"enabled": true,
"order": 40,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "GH",
"marketFactor": "1000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.5",
"maxSpeedLimit": "500000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "64",
"port": 3373,
"color": "#3A9A56",
"ordersEnabled": true
},
{
"algorithm": "CRYPTONIGHTR",
"title": "CryptoNightR",
"enabled": true,
"order": 42,
"displayMiningFactor": "kH",
"miningFactor": "1000",
"displayMarketFactor": "MH",
"marketFactor": "1000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.01",
"maxSpeedLimit": "10000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "800000",
"port": 3375,
"color": "#FF6100",
"ordersEnabled": true
},
{
"algorithm": "CUCKOOCYCLE",
"title": "CuckooCycle",
"enabled": true,
"order": 43,
"displayMiningFactor": "G",
"miningFactor": "1",
"displayMarketFactor": "kG",
"marketFactor": "1000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.1",
"maxSpeedLimit": "100000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "128",
"port": 3376,
"color": "#F72A6D",
"ordersEnabled": true
},
{
"algorithm": "GRINCUCKAROOD29",
"title": "GrinCuckarood29",
"enabled": true,
"order": 44,
"displayMiningFactor": "G",
"miningFactor": "1",
"displayMarketFactor": "kG",
"marketFactor": "1000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.1",
"maxSpeedLimit": "100000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "64",
"port": 3377,
"color": "#FEF102",
"ordersEnabled": true
},
{
"algorithm": "BEAMV2",
"title": "BeamV2",
"enabled": true,
"order": 45,
"displayMiningFactor": "Sol",
"miningFactor": "1",
"displayMarketFactor": "kSol",
"marketFactor": "1000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "1",
"maxSpeedLimit": "1000000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "2048",
"port": 3378,
"color": "#4CE0E0",
"ordersEnabled": true
},
{
"algorithm": "X16RV2",
"title": "X16Rv2",
"enabled": true,
"order": 46,
"displayMiningFactor": "MH",
"miningFactor": "1000000",
"displayMarketFactor": "GH",
"marketFactor": "1000000000",
"minimalOrderAmount": "0.005",
"minSpeedLimit": "0.1",
"maxSpeedLimit": "100000",
"priceDownStep": "-0.0001",
"minimalPoolDifficulty": "8",
"port": 3379,
"color": "#384182",
"ordersEnabled": true
}
]
}