diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..e6258ce --- /dev/null +++ b/.travis.yml @@ -0,0 +1,8 @@ +language: node_js +node_js: + - "0.10" + +deploy: + provider: npm + email: "zone117x@gmail.com" + api_key: "YOUR-API-KEY" \ No newline at end of file diff --git a/lib/pool.js b/lib/pool.js index 60a4a3f..18ffac9 100644 --- a/lib/pool.js +++ b/lib/pool.js @@ -189,7 +189,7 @@ var pool = module.exports = function pool(options, authorizeFn){ if (options.difficulty > results.networkDifficulty && options.difficulty > 16){ var newDiff = results.networkDifficulty > 16 ? results.networkDifficulty : 16; - emitWarningLog('system', 'pool difficulty was set higher than network difficulty'); + emitWarningLog('system', 'pool difficulty was set higher than network difficulty of ' + results.networkDifficulty); emitWarningLog('system', 'lowering pool diff from ' + options.difficulty + ' to ' + newDiff); options.difficulty = newDiff @@ -200,7 +200,7 @@ var pool = module.exports = function pool(options, authorizeFn){ GetBlockTemplate(function(error, result){ if (error) - emitErrorLog('system', 'Error with initial getblocktemplate'); + emitErrorLog('system', 'Error with initial getblocktemplate ' + error); else{ SetupBlockPolling(); StartStratumServer(); diff --git a/package.json b/package.json index 7810b80..35346e5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stratum-pool", - "version": "0.0.3", + "version": "0.0.4", "author": "Matthew Little", "description": "High performance Stratum poolserver in Node.js", "contributors": [