Skip to content

Mainnet secret-1 v0.2.1

Compare
Choose a tag to compare
@assafmo assafmo released this 05 Jul 10:09
· 5949 commits to master since this release
f1deca3

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

⚠️ Make sure to back up your validator node before you make any changes.
⚠️ Make sure to back up your delegator wallet keys with secretcli keys export <key-alias> before you make any changes.

  1. 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.

  1. Load the new configuration:

    sudo systemctl restart secret-node
  2. Make sure the node isn't running:

    journalctl -u secret-node -f
  3. Only if systemd keeps restarting it - Manually stop your node:

    sudo systemctl stop secret-node
  4. Download v0.2.1:

    wget https://github.com/enigmampc/SecretNetwork/releases/download/v0.2.1/secretnetwork_0.2.1_amd64.deb
  5. Install v0.2.1:

    sudo dpkg -i secretnetwork_0.2.1_amd64.deb
  6. Tell your node to stop shutting down:

    perl -i -pe 's/^halt-time =.*$/halt-time = 0/' ~/.secretd/config/app.toml
  7. Start your node with the new version:

    sudo systemctl start secret-node
  8. Make sure your node is running properly:

    journalctl -u secret-node -f