Besu
Updating Besu
Download Besu and configure the service
Download the latest version of Besu and run the checksum verification process to ensure that the downloaded file has not been tampered with.
cd
curl -LO https://hyperledger.jfrog.io/artifactory/besu-binaries/besu/24.1.2/besu-24.1.2.tar.gz
echo "082db8cf4fb67527aa0dd757e5d254b3b497f5027c23287f9c0a74a6a743bf08 besu-24.1.2.tar.gz" | sha256sum --check
Expected output: Verify output of the checksum verification
If checksum is verified, extract the files and move them into the (/usr/local/bin) directory for neatness and best practice. Then, clean up the duplicated copies.
Restart the Besu service
Reload the systemd daemon to register the changes made, start Besu, and check its status to make sure its running.
Use the following command to check the logs of Besu’s syncing process. Watch out for any warnings or errors.
Press CTRL-C to exit.
Pruning Besu
Besu does not provide a pruning mode and requires a full resync when your node runs out of space. Disk consumption grows by ~8GB/week.
Fortunately, Besu is able to sync in a very short time (~1.5 days) if you have at least 32GB of RAM by enabling the --Xplugin-rocksdb-high-spec-enabled flag.
To resync, simply delete the existing Besu database and restart the service.
Monitor logs for errors.
Last updated