diff --git a/README.md b/README.md index 39a1f7e..55d0af9 100644 --- a/README.md +++ b/README.md @@ -109,6 +109,28 @@ Optional configuration items (just leave blank and hit enter if you dont know) : 2. the stratum password (optional) 3. (pool only) pool difficulty (1024 minumum on 6block, 512 minumum on hnspool), or set to -1 for variable difficulty +## POOL SETTINGS + +#### F2POOL +non-registered: +**username**: wallet.workerName +**password**: anything + +registered: +**username**: username.workerName +**password**: anything + +#### 6block + +**username**: username.workerName +**password**: anything + +#### hnspool + +**username**: hnspool_registered_username +**password**: hnspool_registered_password + + #### Mining FAQ: diff --git a/miner/HandyMiner.js b/miner/HandyMiner.js index fedb3d7..ec64399 100644 --- a/miner/HandyMiner.js +++ b/miner/HandyMiner.js @@ -1305,7 +1305,7 @@ class HandyMiner { submission.push(lastJob.work.jobID); submission.push(lastJob.nonce2); submission.push(lastJob.work.time.toString(16)); - if(_this.config.mode == 'pool' && !_this.isMGoing && _this.config.host.indexOf('6block') >= 0){ + if(_this.config.mode == 'pool' && !_this.isMGoing && (_this.config.host.indexOf('6block') >= 0 || _this.config.host.indexOf('f2pool') >= 0 )){ //6block formats to length == 8 submission.push(outJSON.nonce.slice(8,16)); }