Last updated 1 year ago
v3.0.0
source-1
ENABLED
# Install Necessary package sudo apt update sudo apt-get install snapd lz4 -y
Turn off state-sync
sed -i.bak -E "s|^(enable[[:space:]]+=[[:space:]]+).*$|\1false|" ~/.source/config/config.toml
# Stop the service and reset the data sudo systemctl stop sourced cp $HOME/.source/data/priv_validator_state.json $HOME/.source/priv_validator_state.json.backup rm -rf $HOME/.source/data
# Download Latest Snapshot curl -L https://snapshots.indonode.net/source/source-latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.source mv $HOME/.source/priv_validator_state.json.backup $HOME/.source/data/priv_validator_state.json
# Restart Service sudo systemctl restart sourced && sudo journalctl -fu sourced -o cat