Adding keepalived support to the pool source.

This commit is contained in:
Alexander Blair
2017-02-25 23:17:54 -08:00
parent 103a029e6e
commit e332e18264
+7
View File
@@ -694,6 +694,13 @@ function handleMinerData(method, params, ip, portData, sendReply, pushMessage) {
sendReply(null, {status: 'OK'});
break;
case 'keepalived':
if (!miner) {
sendReply('Unauthenticated');
return;
}
sendReply('KEEPALIVED');
break;
}
}