Node.sh Deprecation

This proposal propose the deprecation of node.sh for harmony validators.

introduction

For legacy reason, we used to use node.sh as a wrapper script of the harmony node binary with different network configuration support like testnet/mainnet. Since the release v2.3.4 (https://github.com/harmony-one/harmony/releases/tag/v2.3.4), the harmony binary supports the configuration file, so that the node.sh wrapper is no longer needed.

why now

  • The v2.3.4 release had been released for 2 months. It supports harmony.conf file for various network configuration.
  • The recent outage of opendns.com had caused node restart issue using node.sh
  • We are moving to open governance of network upgrade. The auto-update function of node.sh is no longer needed.
  • The auto-update function of node.sh is a centralized security risk that may cause massive node outage in the network.

what’s the action

All validators should stop using node.sh to run validator nodes. You may switch to use harmony binary directly, or use AutoNode.

what’s the plan

node.sh support will be completely removed by Q4 2020. The exact date will be set after the validator community approval of this proposal.

To update the harmony binary on the validator, we recommend following this repo to automate the process, https://github.com/Blockdaemon/harmony-deploy

If any community member would like to contribute to additional automation of validator update process, please submit your proposal and we’d like to provide a grant on it.

1 Like

This new PR (https://github.com/harmony-one/harmony/pull/3480) rewrite the node.sh. It simplifies the node.sh to mainly do download and verification of the binaries.

It can be used to run node program as well. Later on to add btcrelay/ethrelay support.