From 69eec8318e68a8be84f6a28e2d494c4a96acc1a7 Mon Sep 17 00:00:00 2001 From: Matthew Little Date: Mon, 13 Jan 2014 14:09:53 -0500 Subject: [PATCH] updated --- coins/dogecoin.json | 2 ++ pool.js | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/coins/dogecoin.json b/coins/dogecoin.json index bc2c10a..1686fca 100644 --- a/coins/dogecoin.json +++ b/coins/dogecoin.json @@ -6,6 +6,8 @@ "address": "DDt79i6P3Wro3SD3HSnkRLpMgUGUGdiNhS", "stratumPort": 3334, "difficulty": 8, + "templateRefreshInterval": 60, + "merkleRefreshInterval": 60, "daemon": { "host": "localhost", "port": 8332, diff --git a/pool.js b/pool.js index 51bfbc9..939fc41 100644 --- a/pool.js +++ b/pool.js @@ -96,10 +96,10 @@ var pool = module.exports = function pool(coin){ function StartStatumServer(){ console.log('Stratum server starting on port ' + coin.options.stratumPort + ' for ' + coin.options.name); - this.stratumServer = new stratum.Server({ + _this.stratumServer = new stratum.Server({ port: coin.options.stratumPort }); - this.stratumServer.on('started', function(){ + _this.stratumServer.on('started', function(){ console.log('Stratum server started on port ' + coin.options.stratumPort + ' for ' + coin.options.name); }).on('client', function(client){ client.on('subscription', function(params, resultCallback){