mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Update to use trustChange more aggressively.
This commit is contained in:
+1
-1
@@ -766,7 +766,7 @@ function handleMinerData(method, params, ip, portData, sendReply, pushMessage) {
|
||||
|
||||
if (global.config.pool.trustedMiners) {
|
||||
if (shareAccepted) {
|
||||
miner.trust.probability -= 1;
|
||||
miner.trust.probability -= global.config.pool.trustChange;
|
||||
if (miner.trust.probability < (global.config.pool.trustMin)) {
|
||||
miner.trust.probability = global.config.pool.trustMin;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user