Error: Failed to parse block while launching new mining pool


#1

Trying to launch new Dero mining pool. After launching pool having this error:

Plese help, I’m using Dero.

2019-02-25 15:27:35
Error: Failed to parse block
at Object.BlockTemplate.nextBlob (/pool/lib/pool.js:128:23)
at Object.Miner.getJob (/pool/lib/pool.js:302:41)
at handleMinerMethod (/pool/lib/pool.js:531:28)
at handleMessage (/pool/lib/pool.js:660:13)
at Socket.socket.on.on.on.pushMessage (/pool/lib/pool.js:714:25)
at Socket.EventEmitter.emit (events.js:95:17)
at Socket. (stream_readable.js:746:14) at Socket.EventEmitter.emit (events.js:92:17) at emitReadable (_stream_readable.js:408:10)
at emitReadable (_stream_readable.js:404:5)

Package.json:
“dependencies”: {
“bignum”: “0.12.5”,
“async”: “1.5.2”,
“redis”: “0.12.1”,
“cli-color”: “1.1.0”,
“dateformat”: “1.0.12”,
“base58-native”: “0.1.4”,
“multi-hashing”: “git://github.com/zone117x/node-multi-hashing.git”,
“cryptonote-util”: “git://github.com/Snipa22/node-cryptonote-util#xmr-Nan-2.0”
},

I guess the problem is with correct cryptonote-util while building the pool from sources. What is the correct cryptonote-util after hard fork?


#2

Pls see for reference official pool code https://git.dero.io/Captain/dero-pool