jceminer / cn_cpu_miner

Cryptonote CPU Miner
35 stars 23 forks source link

Missing hash #16

Open nodakhillbilli opened 6 years ago

nodakhillbilli commented 6 years ago

Using JCE cpu 0.31a on Ubuntu 18.04 64bit Dual Xeon 5450's @ 3ghz After about an hour or so of mining the rig drops out of my pool and never shows back up. Checking the terminal it's launched in still shows it hashing and submitting shares along with 100% CPU usage, but no activity is shown on my pool. Xmrig works fine and runs for days, but I get about a 60h/s increase using JCE. Is it possible it got stuck mining in the Dev share?

jceminer commented 6 years ago

Hello,

It shouldn't happen, the dev fee of JCE is "non-aggressive" as in SRB, meaning it can giveup switching to fee if the fee pool is offline, but not the opposite. however the fee period is about one hour, and that's consistant with the symptom you describe. i admit the linux version is less tested that the windows one, so there may be a bug in the linux netcode, even if it looks strange. Could you retry with another pool, for test purpose?

i'm not saying your pool is faulty, but maybe its behavior when jce switches to fee and try to come back is special, different. the linux 0.31 is quite old now and i never had that blatant bug reported, so please tell me what pool it is (just pool, not your wallet) so i can test my side, it's very possible it's a pool-specific bug in jce.

jceminer commented 6 years ago

did you mine on Nicehash?

i rechecked my netcode and found a case where the miner could get stuck if you got disconnected from your pool while mining a fee on mine. which is close to your diagnostic.

in such case the miner continues to mine and to find shares, but it never sends them (not to you, not to me, just nowhere). i'm doing a long run test and if it is success, i'll release a fixed version.

nodakhillbilli commented 6 years ago

I tested over night on a different WiFi network thinking it may be related to a weak signal, but it disappeared again by morning. I don't use nicehash, but the pool I use does switch between CN7 based coins depending on their value. So it could be possible that it started mining the Dev share then tries to connect back to my pool which is now mining a different coin such as MSR or GRFT. The pool is moneroocean.stream

jceminer commented 6 years ago

ok, i expected an "exotic" pool. i'm finishing my tests and i release a fixed version of jce. thanks for reporting the bug.

jceminer commented 6 years ago

fixed version - Windows - is online. Linux version comes next.