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:
parent
aec399570b
commit
4bcfe3d945
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user