Update Electrs

Update Electrs to newer versions

For more details and context on this process, refer to the installation step.

Fetch the latest changes:

cd ~/electrs
git fetch --all

Show 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.service

Source the env file and compile

. "$HOME/.cargo/env"
cargo build --locked --release

Start electrs:

sudo systemctl start electrs.service

Verify the new version:

~/electrs/target/release/electrs --version

Last updated

Was this helpful?