It seems PoolServerJ only accept lowercase Results and Ufasoft sends it uppercase...
However, till this behavior is fixed in PoolServerJ, I´ve got a little fix for Ufasoft:
In bitcoin-client.cpp:
At BitcoinMiner::SubmitResult insert
Code:
arg.MakeLower();
Code:
String r = wc.UploadString(GetCurrentUrl(), arg);
If you want the displayed result also in lowercase, insert
Code:
shash.MakeLower();
Code:
TRACE_BITCOIN(cout << (isatty(fileno(stdout)) ? "\r" : "") << DateTime::Now() << " Result: " << shash << (r ? " accepted" : " rejected") << endl);
Since the conversion is only performed when an result is already local tested it should not affect the performance at all.