diff --git a/lib/pool.js b/lib/pool.js index aa3a4ca..b04d19b 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -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; } }