Block found, but not submit to redis


#1

Hello, I have installed a dero pool, and it works fine. Block is found and paid into the pool wallet. But I have a problem when it happens, when the block is found, it does not submit to redis and calculates the share to pay for miner. On the pool always show Block never found (but actually found many blocks). I misconfigured when running daemon right? Can anybody help me please? Thank you.


#2

Have you integrated the changes in your pool mentioned below to work with Dero Dag.
https://git.dero.io/Captain/dero-pool


#3

I’m using this pool (https://git.dero.io/Captain/dero-pool). But it don’t submit to redis when block found, hashrate is Ok. Is wrong when run daemon? What is command recommend (I’m using Atlantis v2.0.1).

This is my pool: https://dero.easypool.pro/s1/ (Found >50 block)

Thank you.


#4

Following cmd is use to run pool wallet.
./dero-wallet-cli-linux-amd64 --rpc-server --wallet-file pool_wallet.db --rpc-bind 127.0.0.1:20209 --unlock


#5

Since start the pool, I’m using this cmd (as you reply), but not work (not submit to redis when block found)

*Daemon:
./derod-linux-amd64 --rpc-bind 0.0.0.0:20206

*Wallet:
./dero-wallet-cli-linux-amd64 --wallet-file easypool.db --rpc-server --rpc-bind 0.0.0.0:20209 --unlock


#6

Following cmd is use to run pool wallet.
./dero-wallet-cli-linux-amd64 --rpc-server --wallet-file pool_wallet.db --rpc-bind 127.0.0.1:20209 --unlock


#7

Still not work :frowning:


#8

Can you share some logs.


#9

I got this log when block found:

Error: input is invalid type
at Keccak.update (/home/pool-dero/pool-dero/node_modules/js-sha3/src/sha3.js:200:19)
at /home/pool-dero/pool-dero/node_modules/js-sha3/src/sha3.js:63:46
at /home/pool-dero/pool-dero/lib/pool.js:532:37
at /home/pool-dero/pool-dero/lib/apiInterfaces.js:58:9
at IncomingMessage. (/home/pool-dero/pool-dero/lib/apiInterfaces.js:34:13)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickCallback (node.js:458:13)


#10

look at git changes and apply in your pool. This is standard cryptonote pool https://git.dero.io/Captain/dero-pool or use this pool for tests and them miigrate to your own pools after changes.


#11

I try official pool and got the same log

Error: input is invalid type
at Keccak.update (/home/pool-dero/pool-dero/node_modules/js-sha3/src/sha3.js:200:19)
at /home/pool-dero/pool-dero/node_modules/js-sha3/src/sha3.js:63:46
at /home/pool-dero/pool-dero/lib/pool.js:532:37
at /home/pool-dero/pool-dero/lib/apiInterfaces.js:58:9
at IncomingMessage. (/home/pool-dero/pool-dero/lib/apiInterfaces.js:34:13)
at IncomingMessage.emit (events.js:117:20)
at _stream_readable.js:944:16
at process._tickCallback (node.js:458:13)

Then, I edit : pool-dero/lib/pool.js , comment out this and it’s works.

//var blockFastHash = keccak256(shareBuffer).toString(‘hex’);

My pool is running good: https://dero.easypool.pro

Thank you.