Last updated 1 year ago
v1.1.0
sgenet-1
DISABLED
# 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|" ~/.sge/config/config.toml
# Stop the service and reset the data sudo systemctl stop sged cp $HOME/.sge/data/priv_validator_state.json $HOME/.sge/priv_validator_state.json.backup rm -rf $HOME/.sge/data
# Download Latest Snapshot curl -L https://snapshots.indonode.net/sge/sge-latest.tar.lz4 | lz4 -dc - | tar -xf - -C $HOME/.sge mv $HOME/.sge/priv_validator_state.json.backup $HOME/.sge/data/priv_validator_state.json
# Restart Service sudo systemctl restart sged && sudo journalctl -fu sged -o cat