1
0
mirror of https://github.com/GOSTSec/poolserver synced 2025-03-13 05:51:37 +00:00

Increase ban threashold. TODO: Implement in settings

This commit is contained in:
Intel 2014-05-11 16:37:47 -04:00
parent aec399570b
commit 4bcfe3d945

View File

@ -22,7 +22,7 @@ namespace Stratum
_lastRetarget = curTime;
// Check if miner is ok
if (_totalShares > 50 && (double(_totalBadShares)/double(_totalShares)) > 0.8) {
if (_totalShares > 200 && (double(_totalBadShares)/double(_totalShares)) > 0.9) {
_client->Ban(600);
return false;
}