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

komodo afertma #104

Closed sonicdx10 closed 7 years ago

sonicdx10 commented 7 years ago

/home/dimi/z-nomp/node_modules/stratum-pool/lib/pool.js:576 result.response.miner = subsidy.miner; ^

TypeError: Cannot read property 'miner' of undefined at /home/dimi/z-nomp/node_modules/stratum-pool/lib/pool.js:576:56 at itemFinished (/home/dimi/z-nomp/node_modules/stratum-pool/lib/daemon.js:155:36) at /home/dimi/z-nomp/node_modules/stratum-pool/lib/daemon.js:169:17 at parseJson (/home/dimi/z-nomp/node_modules/stratum-pool/lib/daemon.js:85:17) at IncomingMessage. (/home/dimi/z-nomp/node_modules/stratum-pool/lib/daemon.js:95:17) at emitNone (events.js:91:20) at IncomingMessage.emit (events.js:186:7) at endReadableNT (_stream_readable.js:974:12) at _combinedTickCallback (internal/process/next_tick.js:74:11) at process._tickCallback (internal/process/next_tick.js:98:9)

sonicdx10 commented 7 years ago

Fixed by KomodoTeam in last git update on their repo

sennevb commented 7 years ago

still got this error:

/root/pool/node_modules/typeforce/index.js:154 throw tfSubError(e, i) ^ Error: Expected property "1" of type Satoshi, got Number NaN

sonicdx10 commented 7 years ago

is Komodo what your trying to run? please check getblock temp about not to pay in rpc to founders ;)

sonicdx10 commented 7 years ago

also check your past the 245k+ blocks

sennevb commented 7 years ago

is Komodo what your trying to run? please check getblock temp about not to pay in rpc to founders ;)

Show me your template then please..

sennevb commented 7 years ago

what do you mean with the blocks??

sonicdx10 commented 7 years ago

komodo-cli getinfo (check ## of blocks) should past ov 245k+ blocks, you need to sync to run without probs the pool the issue is explained several times

sonicdx10 commented 7 years ago

any pub server I can check?

sennevb commented 7 years ago

"blocks" : 247149,

its not a pub server :-(

sonicdx10 commented 7 years ago

so, let's see, your komodo ports are diff than other coins? meaning RpcPorts-MiningPorts... if so, then, try to resync with everything inside the config folder deleted excluding the .cfg one file, if you have coins dump priv keys, and import em when the sync is almost/finished... also check blocktemplate the line 26 """ var blockReward = (this.rpcData.miner) * 100000000; """ as it is You Can Not run Zec on same stratum as Komodo because of the limitations, hope that help

sennevb commented 7 years ago

Ports are diff then other coins, have allready zcash ,zclassic and zdash running. Itried resyncing allready..

but i dont hav founders in my conf, cant find the adresses..

Also need to check blocktemplate

sonicdx10 commented 7 years ago

as I said, you can NOT run Zec with Komodo at the same time because blocktemplate at line 26 as it's commented in #93 ;)

sonicdx10 commented 7 years ago

check alvblock.com

sennevb commented 7 years ago

oh so that is the problem :-)

sonicdx10 commented 7 years ago

yeye should find a fix soon

sennevb commented 7 years ago

avlblock.com is yours??

sonicdx10 commented 7 years ago

yup alvblock, thank to z-nomp guys

sennevb commented 7 years ago

good luck mate!

sonicdx10 commented 7 years ago

thx thx same to ya.... hve u tried mpos with z-nomp?

sennevb commented 7 years ago

no, plan was to stick to plain z-nomp

sonicdx10 commented 7 years ago

GOOD GOOD that's GOOD

sonicdx10 commented 7 years ago

@hellcatz how did you successfully run kmd while zec on same stratum? luckpool.org :octocat:

hellcatz commented 7 years ago

@sonicdx10 With a little magic and lots of practice ;) All "improvements" require changes to both node-stratum-pool and z-nomp projects to support all 3 coins at same time. Once I feel my mods are complete and have free time....I'll update my forks and do another pull request...it may be a few weeks.

WaveringAna commented 7 years ago

https://github.com/z-classic/node-stratum-pool/commit/6f709b5c5a6cf9c981609bf64ba018b98cfd7e18

igorvoltaic commented 6 years ago

Could anyone help me? What am i doing wrong? Or do i need to fix something to be able to start komodo pool? dumpprivkey gives me the key and daemon is running.

2018-05-03 16:06:29 [POSIX] [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
2018-05-03 16:06:29 [Master]    [CLI] CLI listening on port 17117
2018-05-03 16:06:29 [PPLNT] [komodo] TimeShare processing setup with redis (127.0.0.1:6379)
2018-05-03 16:06:29 [Payments]  [komodo]  minimum paymentInterval of 120 seconds recommended.
2018-05-03 16:06:29 [Payments]  [komodo] komodo requireShielding: false
2018-05-03 16:06:29 [Payments]  [komodo] komodo minConf: 10
2018-05-03 16:06:29 [Payments]  [komodo] komodo payments txfee reserve: 0.0004
2018-05-03 16:06:29 [Payments]  [komodo] komodo maxBlocksPerPayment: 3
2018-05-03 16:06:29 [Payments]  [komodo] komodo PPLNT: false, time period: 0.51
2018-05-03 16:06:29 [Payments]  [komodo] Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":false}
2018-05-03 16:06:29 [Payments]  [komodo] Daemon does not own pool address - payment processing can not be done with this daemon, {"isvalid":false}
2018-05-03 16:06:29 [Website]   [Server] Website started on 127.0.0.1:8080
2018-05-03 16:06:29 [Website]   [komodo] Could not dumpprivkey for komodo {"code":-5,"message":"Invalid Komodo address"}
2018-05-03 16:06:29 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
2018-05-03 16:06:29 [Pool]  [komodo] (Thread 1) Share processing setup with redis (127.0.0.1:6379)
2018-05-03 16:06:29 [Pool]  [komodo] (Thread 1) Could not start pool, error with init batch RPC call: {"type":"request error","message":"read ECONNRESET"}
2018-05-03 16:06:30 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
2018-05-03 16:06:30 [Pool]  [komodo] (Thread 2) Share processing setup with redis (127.0.0.1:6379)
2018-05-03 16:06:30 [Pool]  [komodo] (Thread 2) Could not start pool, error with init batch RPC call: {"type":"request error","message":"read ECONNRESET"}
2018-05-03 16:06:30 [Master]    [PoolSpawner] Spawned 1 pool(s) on 4 thread(s)
2018-05-03 16:06:30 [Switching] [Setup] (Thread 3) Loading last proxy state from redis
2018-05-03 16:06:30 [Pool]  [komodo] (Thread 3) Share processing setup with redis (127.0.0.1:6379)
2018-05-03 16:06:30 [Pool]  [komodo] (Thread 3) Could not start pool, error with init batch RPC call: {"type":"request error","message":"read ECONNRESET"}
2018-05-03 16:06:30 [Switching] [Setup] (Thread 4) Loading last proxy state from redis
2018-05-03 16:06:30 [Pool]  [komodo] (Thread 4) Share processing setup with redis (127.0.0.1:6379)
2018-05-03 16:06:30 [Pool]  [komodo] (Thread 4) Could not start pool, error with init batch RPC call: {"type":"request error","message":"read ECONNRESET"}
sennevb commented 6 years ago

Is the deamon on same server? Try rpcallowip=127.0.0.1 in your coins .conf if it's on the same..

igorvoltaic commented 6 years ago

several days i was editing comments in komodo.json :) well, thanks for the attention & time anyways :)