I have error Unauthorized worker.
I tried the mysql connection test, it has no errors.
My server uses MPOS and MariaDB-Server on CentOS. Also Server Z-Nomp I run on ubuntu. My LAN is connected to each other. They do not have any connection errors. When I try to retrieve the query in z-nomp's mpos library, the error is generated. "SELECT password FROM pool_worker WHERE username = LOWER (?)"
I tried changing (?) To (test.wk1) but still error. I then added ("test.wk1")
That means it looks like this: 'SELECT password FROM pool_worker WHERE username = LOWER ("test.wk1")' then the query runs.
But as I see in the mposCompatibility.js source code is not ("?")
I also try to change as above but still Unauthorized worker.
Help Me!
Hello Can anyone help me ?
getting this error, being trying to solve from 3 days dont able to find the issue -
2018-07-08 08:42:23 [Master] [PoolSpawner] Fork 11 died, spawning replacement worker...
2018-07-08 08:42:23 [Switching] [Setup] (Thread 3) Loading last proxy state from redis
2018-07-08 08:42:23 [Pool] [ltcz] (Thread 3) Share processing setup with redis (127.0.0.1:6379)
2018-07-08 08:42:23 [Pool] [ltcz] (Thread 3) No rewardRecipients have been setup which means no fees will be taken
/home/miner/z-nomp/node_modules/base-x/index.js:52
if (typeof string !== 'string') throw new TypeError('Expected String')
^
TypeError: Expected String
at decodeUnsafe (/home/miner/z-nomp/node_modules/base-x/index.js:52:43)
at Object.decode (/home/miner/z-nomp/node_modules/base-x/index.js:81:18)
at Object.decode (/home/miner/z-nomp/node_modules/bs58check/base.js:39:25)
at Object.fromBase58Check (/home/miner/z-nomp/node_modules/stratum-pool/node_modules/bitcoinjs-lib-zcash/src/address.js:11:27)
at Object.exports.createGeneration (/home/miner/z-nomp/node_modules/stratum-pool/lib/transactions.js:97:52)
at new BlockTemplate (/home/miner/z-nomp/node_modules/stratum-pool/lib/blockTemplate.js:43:35)
at JobManager.processTemplate (/home/miner/z-nomp/node_modules/stratum-pool/lib/jobManager.js:150:32)
at /home/miner/z-nomp/node_modules/stratum-pool/lib/pool.js:588:66
at itemFinished (/home/miner/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36)
at /home/miner/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17
How can i setup payment as pplns
"paymentMode": "prop",
"_comment_paymentMode":"prop, pplnt",
"paymentInterval": 20,
"minimumPayment": 0.1,
if i change the
"paymentMode": "prop",
to
"paymentMode": "pplns",
will that work ?
knock down the other errors now I have this npm ERR! path /home/package.json
npm ERR! code ENOENT
npm ERR! errno -2
npm ERR! syscall open
npm ERR! enoent ENOENT: no such file or directory, open '/home/package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
npm ERR! A complete log of this run can be found in:
npm ERR! /home/admin/.npm/_logs/2018-07-26T19_14_45_411Z-debug.log