when mining cryptonight the DIFF available via API is zero, the result of "summary" is:
{
NAME: 'cpuminer-opt',
VER: '3.4.7',
API: '1.0',
ALGO: 'cryptonight',
CPUS: '4',
KHS: '0.09',
ACC: '43',
REJ: '0',
ACCMN: '0.788',
DIFF: '0.000000',
TEMP: '0.0',
FAN: '0',
FREQ: '0',
UPTIME: '3276',
TS: '1474630263|'
}
I haven't made any changes to the API code but I looked through it and didn't see anything obvious. It should display
either net_diff if it's non-zero else stratum_diff. net-diff isn't used by cryptonight so it should display stratum_diff.
Don't know why it isn't.