From eb858ab349f112d1c1d67f81a14ec10fc88d7c18 Mon Sep 17 00:00:00 2001 From: HDauven Date: Wed, 28 Feb 2024 17:16:50 +0100 Subject: [PATCH] Remove state snapshot --- itn-installer.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/itn-installer.sh b/itn-installer.sh index 3b5dd49..067c496 100644 --- a/itn-installer.sh +++ b/itn-installer.sh @@ -33,7 +33,6 @@ mkdir -p /opt/dusk/installer mkdir -p /root/.dusk/rusk-wallet VERIFIER_KEYS_URL="https://nodes.dusk.network/keys" -LAST_STATE_URL="https://nodes.dusk.network/state/86920" INSTALLER_URL="https://github.com/dusk-network/itn-installer/tarball/main" RUSK_URL=$(curl -s "https://api.github.com/repos/dusk-network/rusk/releases/latest" | jq -r '.assets[].browser_download_url' | grep linux) WALLET_URL=$(curl -s "https://api.github.com/repos/dusk-network/wallet-cli/releases/latest" | jq -r '.assets[].browser_download_url' | grep libssl3) @@ -71,13 +70,6 @@ curl -so /opt/dusk/installer/rusk-vd-keys.zip -L "$VERIFIER_KEYS_URL" unzip -d /opt/dusk/rusk/ -o /opt/dusk/installer/rusk-vd-keys.zip chown -R dusk:dusk /opt/dusk/ -echo "Downloading state" -rm -rf /opt/dusk/rusk/state -rm -rf /opt/dusk/rusk/chain.db -curl -so /opt/dusk/installer/86920.tar.gz -L "$LAST_STATE_URL" -tar -xvf /opt/dusk/installer/86920.tar.gz -C /opt/dusk/rusk/ -chown -R dusk:dusk /opt/dusk/ - echo "Installing services" # Overwrite previous service definitions mv -f /opt/dusk/services/rusk.service /etc/systemd/system/rusk.service