Dear all,
Where can i find nice tutorial or guide to setup a) ZERO node b) ZERO mining pool ?
I followed guide similar to that on github for ZCASH but after we start the ZERO node daemon using following commands
root@localhost:/home/user/ZNOMP/zero# ./src/zcashd
Error: Cannot obtain a lock on data directory /root/.zero. Zcash is probably already running.
root@localhost:/home/user/ZNOMP/zero# ./src/zcash-cli stop
Zcash server stopping
root@localhost:/home/user/ZNOMP/zero# ./src/zcashd
I get message:
-----------------------------------BEGIN--------------------------------------
%%%%%%%%%%%%%%%%%t%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%t t%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%t t%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%t;;;;;;;;;;;;;;;;;;;; :S%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%X; 8S%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% .t%%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%t. S%%%%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%@ tS%%%%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%; t%%%%%%%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%8;;;;;;;;;;: :;;;;;S%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%S 8%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%S 8%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%tttttt; .;ttttttttttt%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%%%%%%%t %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%%%%S; tS%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%%%tS t%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%%%t 8X%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%%S8 ;t%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%%t: ;tttttttttttttttttttt%%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%% t%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%t t%%%%%%%%%%%%%%%% t%
%t %%%%%%%%%%%%%%%%t t%%%%%%%%%%%%%%%% t%
%t
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Thank you for running a ZERO node!
You're helping to strengthen the network and contributing to a social good
Block height | 0
Connections | 0
Network solution rate | 0 Sol/s
You are currently not mining.
To enable mining, add 'gen=1' to your zero.conf and restart.
Since starting this node xxxx minutes, yyy seconds ago:
- You have validated no transactions.
[Press Ctrl+C to exit] [Set 'showmetrics=0' to hide]
-------------------------------------END-----------------------
And this never changes even after prolonged period....
the zero.conf file is as below
rpcuser=xxxxxx
rpcpassword=xxxx
addnode=35.164.216.74
addnode=94.176.235.178
rpcport=23800
TRYING TO START MINING POOL using ZNOMP similar to steps for ZCASH
-----------------------------------
root@localhost:/home/user/ZNOMP/znompo# npm start
>
[email protected] start /home/user/ZNOMP/znompo
> LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWD/node_modules/stratum-pool/node_modules/equihashverify/build/Release/:$PWD/node_modules/equihashverify/build/Release/ node init.js
2018-01-01 11:57:17 [POSIX] [Connection Limit] (Safe to ignore) POSIX module not installed and resource (connection) limit was not raised
2018-01-01 11:57:17 [Master] [CLI] CLI listening on port 17117
2018-01-01 11:57:17 [PPLNT] [zcash] TimeShare processing setup with redis (127.0.0.1:6379)
2018-01-01 11:57:17 [Master] [PoolSpawner] Spawned 2 pool(s) on 2 thread(s)
2018-01-01 11:57:18 [Payments] [zcash] minimum paymentInterval of 120 seconds recommended.
2018-01-01 11:57:18 [Payments] [zcash] zcash requireShielding: true
2018-01-01 11:57:18 [Payments] [zcash] zcash minConf: 10
2018-01-01 11:57:18 [Payments] [zcash] zcash payments txfee reserve: 0.0004
2018-01-01 11:57:18 [Payments] [zcash] zcash maxBlocksPerPayment: 3
2018-01-01 11:57:18 [Payments] [zcash] zcash PPLNT: false, time period: 0.51
2018-01-01 11:57:18 [Payments] [zero] minimum paymentInterval of 120 seconds recommended.
2018-01-01 11:57:18 [Payments] [zero] zero requireShielding: true
2018-01-01 11:57:18 [Payments] [zero] zero minConf: 10
2018-01-01 11:57:18 [Payments] [zero] zero payments txfee reserve: 0.0004
2018-01-01 11:57:18 [Payments] [zero] zero maxBlocksPerPayment: 3
2018-01-01 11:57:18 [Payments] [zero] zero PPLNT: false, time period: 0.51
2018-01-01 11:57:18 [Payments] [zcash] Payment processing setup with daemon (
[email protected]:8232) and redis (127.0.0.1:6379)
2018-01-01 11:57:18 [Payments] [zero] Payment processing setup with daemon (
[email protected]:23800) and redis (127.0.0.1:6379)
2018-01-01 11:57:18 [Website] [Server] Website started on 0.0.0.0:8080
2018-01-01 11:57:18 [Switching] [Setup] (Thread 1) Loading last proxy state from redis
2018-01-01 11:57:18 [Pool] [zcash] (Thread 1) Share processing setup with redis (127.0.0.1:6379)
2018-01-01 11:57:18 [Pool] [zero] (Thread 1) Share processing setup with redis (127.0.0.1:6379)
2018-01-01 11:57:18 [Pool] [zcash] (Thread 1) No rewardRecipients have been setup which means no fees will be taken
2018-01-01 11:57:18 [Pool] [zero] (Thread 1) No rewardRecipients have been setup which means no fees will be taken
2018-01-01 11:57:18 [Pool] [zero] (Thread 1) getblocktemplate call failed for daemon instance 0 with error {"code":-9,"message":"Zcash is not connected!"}
2018-01-01 11:57:18 [Pool] [zero] (Thread 1) Error with getblocktemplate on creating first job, server cannot start
2018-01-01 11:57:18 [Pool] [zcash] (Thread 1) Stratum Pool Server Started for zcash [ZEC] {equihash}
Network Connected: Mainnet
Detected Reward Type: POW
Current Block Height: 246914
Current Block Diff: 6719088.41222195
Current Connect Peers: 8
Network Difficulty: 6459699.743326834
Network Hash Rate: 319.74 MH
Stratum Port(s): 3032
Pool Fee Percent: 0%
Block polling every: 500 ms
2018-01-01 11:57:18 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start
2018-01-01 11:57:18 [Switching] [Setup] (Thread 2) Loading last proxy state from redis
2018-01-01 11:57:18 [Pool] [zcash] (Thread 2) Share processing setup with redis (127.0.0.1:6379)
2018-01-01 11:57:18 [Pool] [zero] (Thread 2) Share processing setup with redis (127.0.0.1:6379)
2018-01-01 11:57:18 [Pool] [zcash] (Thread 2) No rewardRecipients have been setup which means no fees will be taken
2018-01-01 11:57:18 [Pool] [zero] (Thread 2) No rewardRecipients have been setup which means no fees will be taken
2018-01-01 11:57:18 [Pool] [zcash] (Thread 2) Stratum Pool Server Started for zcash [ZEC] {equihash}
2018-01-01 11:57:18 [Switching] [Setup] (equihash) Setting proxy difficulties after pool start
2018-01-01 11:57:18 [Pool] [zero] (Thread 2) getblocktemplate call failed for daemon instance 0 with error {"
-------------------------------------------------------
as you can see I get the below mentioned error message:
[Pool] [zero] (Thread 1) getblocktemplate call failed for daemon instance 0 with error {"code":-9,"message":"Zcash is not connected!"}
Can anyone kindly help me with this error....
Thanks in advance
Regards