z-classic / z-nomp

z-nomp is mining pool software for Zcash and Zclassic so you can create internet money in your home!
MIT License
287 stars 441 forks source link

getblocktemplate call failed for daemon instance 0 #162

Closed owenashurst closed 7 years ago

owenashurst commented 7 years ago

Just tried adding ZenCash to the pool and I'm receiving the following errors in the console -

2017-07-03 23:20:20 [Pool] [zen] (Thread 1) getblocktemplate call failed for daemon instance 0 with error {"code":-1,"message":"CreateNewBlock(): TestBlockValidity failed"} 2017-07-03 23:20:20 [Pool] [zen] (Thread 1) Error with getblocktemplate on creating first job, server cannot start

I've checked on here already and I've tried adding the following to "/etc/security/limits.conf" without any result;

  • soft nofile 131072
  • hard nofile 262144

I've confirmed the IP, Port, RPC Username & Password are correct too (Daemons running on the same machine).

Any ideas?

WaveringAna commented 7 years ago

what version are you running? Get the daemon from github.com/zencashofficial/zen

owenashurst commented 7 years ago

Ah thanks! I downloaded the latest release instead of cloning the master, that seems to have solved it.