Here’s my guide for compiling and upgrading to Cardano Node 1.34.1 for CNTOOLS users.
If you would prefer a more seamless approach to upgrading, please take a look at @Alexd1985 's script. It can be found here.
If your a CoinCashew user, please see the wonderful 1.34.1 CoinCashew Guide @Gaia-Stake-Pool has published.
Lets begin!
Cardano Node 1.34.1
LaurenceIO released this 25 minutes ago
· 33 commits to master since this release
Node version 1.34.1 is a minor release that fixes two issues:
- the tracer configuration settings were not respected, meaning that tracing was always enabled;
- the node start time and basic information (version etc) were not recorded in EKG logs.
Known Issues
To avoid increased synchronisation times, we recommended that Windows users DO NOT upgrade to this node version. We recommend instead that they continue to run node 1.33.0. Future releases will address this issue which is specific to Windows.
Technical Specification
Minimum System Requirements
- An Intel or AMD x86 processor with two or more cores, at 1.6GHz or faster (2GHz or faster for a stake pool or relay)
- 12GB of RAM
- 50GB of free storage
Prepare for Upgrade 1.34.1
- If available, create snapshots of your servers
- Upgrade a relay first!
- Update your server/OS
sudo apt update && sudo apt upgrade -y
sudo reboot
- Run prereqs.sh
cd ~/tmp
./prereqs.sh
- Update Cabal
cabal update
Building the Node 1.34.1
- Stop your node
sudo systemctl stop cnode
- Build the Node
cd ~/git
sudo rm -R cardano-node
git clone https://github.com/input-output-hk/cardano-node
cd cardano-node
git fetch --tags --all
git checkout 1.34.1
echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh
This upgrade took about 20 min, and the end should look like:
Copying unit to /home/usr/.cabal/bin/
Copying trace-dispatcher-examples to /home/usr/.cabal/bin/
Copying cardano-tracer to /home/usr/.cabal/bin/
Copying cardano-submit-api to /home/usr/.cabal/bin/
Copying cardano-cli to /home/usr/.cabal/bin/
Copying cardano-node to /home/usr/.cabal/bin/
Copying tx-generator to /home/usr/.cabal/bin/
- Check your versions
cardano-node --version
cardano-node 1.34.1 - linux-x86_64 - ghc-8.10
git rev 73f9a746362695dc2cb63ba757fbcabb81733d23
cardano-cli --version
cardano-cli 1.34.1 - linux-x86_64 - ghc-8.10
git rev 73f9a746362695dc2cb63ba757fbcabb81733d23
Start the Node
- Restart the Node
sudo systemctl restart cnode
Afterthoughts
This upgrade took about 20 mins for me and it took the standard 10ish mins for the node to fully start up.
Be sure to update you version of gLiveView.sh to v1.26.3 or later, as previous versions of gLiveView will not load.
Thanks for reading along!