If I set -t 2 it gets stuck at showing difficulty. Nothing mines.
Then, the higher I set -t, the higher the miner reports hashrate. I even tried -t 100, it reported a hashrate of 2500 H/s
...but on Minergate's website, no matter what -t setting I put (above 2), reported hashrate is 7.40 H/s
Something clearly isn't working as it should...
For ref, I get ~50 H/s using the minergate client.
Okay, first off - why on earth are people still using MinerGate? They're a pretty well known scam, and besides that, it doesn't work half the time! Try another pool, any other pool.
Here, point your miner to stratum+tcp://xmr.crypto-pool.fr:3333
You can check your stats at http://monero.crypto-pool.fr
Also, I'm arguing that your miner doesn't report the correct hashrate so I have no idea where I stand... maybe I should try -t 10000000000000
I have heard nothing but complaints about not being paid from their users. I don't often say with such certainty that something is a scam, but there's just an overwhelming number of people on IRC complaining. Anyway, them being all closed-source, I can't be sure that they're reporting the right hashrate, either. So I ask you to try on the pool I provided (or any pool based on zone117x's software), before I start bug hunting. It could very well be a bug I introduced into the miner - but I'd like to be reasonably sure of that.