Update Electrs
Update Electrs to newer versions
Make sure to update Rust first before proceeding.
Fetch the latest changes:
cd ~/electrsgit fetch --allShow the latest version tags:
git describe --tags `git rev-list --tags --max-count=20`Switch to the latest stable version:
git checkout -f <version-tag>Stop Electrs:
sudo systemctl stop electrs.serviceSource the env file and compile
. "$HOME/.cargo/env"cargo build --locked --releaseStart electrs:
sudo systemctl start electrs.serviceVerify the new version:
~/electrs/target/release/electrs --versionLast updated
Was this helpful?