This release includes significant performance improvements and numerous other minor improvements and feature additions. In particular the reward calculation pause is eliminated, and the CPU load for relays handling lots of incoming transactions should be significantly reduced.
The focus of the current development work is on completing and integrating support for the Alonzo era. This release includes many of the internal changes but does not yet include support for the new era.
bofore to start it’s better also to update the server
sudo apt-get update
sudo apt-get upgrade
sudo reboot
UPDATE STEPS to 1.26.1
Few recommendation before to start:
-
perform a snapshot for server (if u have this option offered by your provider) before to start the update
-
try to update the Relay first
-
STEP 1 - download the prereqs.
cd "$HOME/tmp"
curl -sS -o prereqs.sh https://raw.githubusercontent.com/cardano-community/guild-operators/master/scripts/cnode-helper-scripts/prereqs.sh
chmod 755 prereqs.sh
./prereqs.sh
. "${HOME}/.bashrc"
- STEP 2 - building the node
stop the 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.26.1
git pull origin master
echo -e "package cardano-crypto-praos\n flags: -external-libsodium-vrf" > cabal.project.local
$CNODE_HOME/scripts/cabal-build-all.sh
- wait till the node will be build and start it again:
after 40-50 minutes:
:~/git/cardano-node$ cardano-node --version
cardano-node 1.26.1 - linux-x86_64 - ghc-8.10
git rev 2b4b387cc6175b8eac40c30003bfdb92c7b359c2
now you can start the node
sudo systemctl restart cnode
#check the status
sudo systemctl status cnode
start glive
grab a coffee and let it sync (it will take 30-40 minutes)
Don’t panic… it took over 1h:30m but the results is:
run again the bellow script (press Y for topology updater only for the RELAYS)
./deploy-as-systemd.sh
- Note that this release will automatically perform a DB migration on the first startup after the update. The migration should take 10-20 minutes however it can take up to 60 minutes depending on your CPU. If this is a problem for your use, then see below for steps to mitigate this.
- The format of the
cardano-cli query tip
query has changed - see release notes for the CLI below.
Steps to mitigate downtime for this update
This release will automatically perform a DB migration on the first startup after the update. The migration should take 10-20 minutes however it can take up to 60 minutes depending on your CPU.
To mitigate downtime:
- Update a non-production mainnet node
- Take a DB snapshot
- Stop production node
- Backup and replace DB with snapshot
- Restart production node on 1.26.1
- Repeat steps 3-5 for all production nodes
Thanks