Mainnet secret-1 v0.2.1
Changelog
Upgraded Tendermint from v0.33.3 to v0.33.6 (Anti DDoS fixes). See https://github.com/tendermint/tendermint/blob/v0.33.6/CHANGELOG.md#v0336 for more.
How to upgrade
secretcli keys export <key-alias>
before you make any changes.
-
Tell your node to gracefully shut down:
perl -i -pe 's/^halt-time =.*$/halt-time = 1593940000/' ~/.secretd/config/app.toml
Note: This tells the node to gracefully shut down if the current time is past Sunday, 05-Jul-20 09:06:40 UTC (which it is, so it's going to shut down now). If you wish you can also manually edit ~/.secretd/config/app.toml
and set halt-height
to a future block. halt-time = 1593940000
is chosen here for simplicity.
-
Load the new configuration:
sudo systemctl restart secret-node
-
Make sure the node isn't running:
journalctl -u secret-node -f
-
Only if systemd keeps restarting it - Manually stop your node:
sudo systemctl stop secret-node
-
Download v0.2.1:
wget https://github.com/enigmampc/SecretNetwork/releases/download/v0.2.1/secretnetwork_0.2.1_amd64.deb
-
Install v0.2.1:
sudo dpkg -i secretnetwork_0.2.1_amd64.deb
-
Tell your node to stop shutting down:
perl -i -pe 's/^halt-time =.*$/halt-time = 0/' ~/.secretd/config/app.toml
-
Start your node with the new version:
sudo systemctl start secret-node
-
Make sure your node is running properly:
journalctl -u secret-node -f