Closed youzidebaba closed 6 years ago
Same issue for me
This issue occur when using wrong cryptonight algorithm. First update to lastest release 1.3.2 then try different algorithms. I'm not sure but I think qwerty coin is using "cryptonight_heavy".
when i get it to compile the node_modules it hangs on connection to the pool:
PM2 | App name:pool id:12 online
12|pool | Failed to read config file config.json
12|pool | SyntaxError: Unexpected string
12|pool | ReferenceError: config is not defined
12|pool | at Object.
12|pool | Failed to read config file config.json 12|pool | SyntaxError: Unexpected string 12|pool | ReferenceError: config is not defined
The code is unable to read config.json file
i changed from:
"cnAlgorithm": "cryptonight",
"cnVariant": 1
to:
"cnAlgorithm": "cryptonight_light",
"cnVariant": 1
But using this program can run https://github.com/qwertycoin-org/qwertycoin-pool.git well. Can you help me see why? I don't want to use his program. His program functions are too few!
@dvandal
Please try lastest code, all issues should be fixed. You may need to set new cnBlobType setting.
Plese help, i'm using qwerty.
Error: Failed to parse block at Error (native) at Object.BlockTemplate.nextBlob (/root/DATA/qwc/lib/pool.js:155:29) at Object.Miner.getJob (/root/DATA/qwc/lib/pool.js:331:41) at handleMinerMethod (/root/DATA/qwc/lib/pool.js:465:28) at handleMessage (/root/DATA/qwc/lib/pool.js:832:13) at Socket. (/root/DATA/qwc/lib/pool.js:886:25)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at readableAddChunk (_stream_readable.js:153:18)
at Socket.Readable.push (_stream_readable.js:111:10)