Skip to content

Commit

Permalink
Remove state snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
HDauven committed Feb 29, 2024
1 parent 6717cf5 commit 7ad46de
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 10 deletions.
4 changes: 2 additions & 2 deletions conf/rusk.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ max_ongoing_requests = 1000

[kadcast]
kadcast_id = 0x20
public_address = '127.0.0.1:9000'
listen_address = '127.0.0.1:9000'
public_address = 'N/A'
listen_address = 'N/A'
bootstrapping_nodes = []
auto_propagate = false
channel_size = 1000
Expand Down
8 changes: 0 additions & 8 deletions itn-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 7ad46de

Please sign in to comment.