Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Page Tree
expandCollapseAlltrue
rootSecure and Super Nodes


Panel
borderColorgrey
bgColorwhite
titleColorblack
borderWidth1
titleBGColorwhite
borderStylesolid
titleLanguages


Use this page for updating the zend daemon directly from source

  • Upgrading the zend daemon
  • For Secure Nodes, restart the Secure Node Tracker


NOTE: These steps assume you have built from source previously, be sure to install the dependencies for your distribution if not - https://github.com/HorizenOfficial/zen/blob/master/README.md




DescriptionCommand

Upgrading the zend daemon
1

Change (cd) to the 'horizen' directory

NOTE: this may be 'zencash' on older installations from source

Code Block
cd ~/horizen


2Remove (rm) the original 'zen' directory


Code Block
rm -r zen


3Clone the github repository


Code Block
git clone https://github.com/HorizenOfficial/zen.git


4

Change (cd) to the 'zen' directory


Code Block
cd zen



5Build and wait for completion...


Code Block
./zcutil/build.sh -j$(nproc)


6

Download the required parameters for zend


NOTE: This will only download parameters that are missing


Code Block
./zcutil/fetch-params.sh


7Stop zend and enforce a 30 second wait before the next command to ensure zend has fully shutdown

If zen-cli and zend have previously been copied to /usr/bin/

Code Block
zen-cli stop && sleep 5


If zen-cli and zend have not previously been copied to /usr/bin/

Code Block
./src/zen-cli stop && sleep 5


8Copy zend and zen-cli to the /usr/bin/ directory


Code Block
sudo cp src/{zen-cli,zend} /usr/bin/


9

Check zend's version


***CHECK FOR "Zen Daemon version v2.0.

23

24", after

March 29

October 09,

2020

2021,***


NOTE: Zend version 2.0.

22

23 will deprecate at block

#920000

#1027500,

approximately on Thu

approximately on Wed,

22 Apr

27 Oct 2021

05

09:

54

35:

16

02 GMT


Code Block
zend --version


Panel
borderColorgrey
bgColorblack
titleColorwhite
borderWidth2
titleBGColorblack
borderStylesolid
titleDesired Output

zenops@node01:~$ zend --version

Zen Daemon version v2.0.

23

24

Copyright (C) 2009-2021 The Bitcoin Core Developers
Copyright (C) 2015-2021 The Zcash Developers
Copyright (C) 2015-2021 Zdeveloper.org
Copyright (C) 2015-2021 Zen Blockchain Foundation

This is experimental software.

Distributed under the MIT software license, see the accompanying file COPYING
or <http://www.opensource.org/licenses/mit-license.php>.

This product includes software developed by the OpenSSL Project for use in the
OpenSSL Toolkit <https://www.openssl.org/> and cryptographic software written
by Eric Young.


10

Start zend monitoring services after the upgrade has been completed

For installations using systemd (assumes the unit file is named 'zend.service')

Code Block
sudo systemctl start zend

For installations using monit

Code Block
sudo monit start zend

For installations manually running zend

Code Block
zend



Restarting zentracker
11Restart the Node Tracker after zend has started

For installations using systemd (assumes the unit file is named 'zentracker.service')

Code Block
sudo systemctl restart zentracker

For installations using pm2 (assumes the tracker is running as the only or first process, numbered 0)

Code Block
pm2 restart 0



Insert excerpt
Social Links
Social Links
nopaneltrue