[rename network] Make mainnet consistent with the other options, '-N main' is now '-N mainnet'

pull/1979/head
Janet Liang 5 years ago
parent 7a916758f3
commit 29bb07702c
  1. 4
      scripts/node.sh

@ -106,7 +106,7 @@ usage: ${progname} [-1ch] [-k KEYFILE]
-d just download the Harmony binaries (default: off)
-D do not download Harmony binaries (default: download when start)
-m collect and upload node metrics to harmony prometheus + grafana
-N network join the given network (main, testnet, devnet; default: main)
-N network join the given network (mainnet, testnet, devnet; default: mainnet)
-t equivalent to -N testnet (deprecated)
-T nodetype specify the node type (validator, explorer; default: validator)
-i shardid specify the shard id (valid only with explorer node; default: 1)
@ -211,7 +211,7 @@ validator|explorer) ;;
esac
case "${network}" in
main)
mainnet)
bootnodes=(
/ip4/100.26.90.187/tcp/9874/p2p/Qmdfjtk6hPoyrH1zVD9PEH4zfWLo38dP2mDvvKXfh3tnEv
/ip4/54.213.43.194/tcp/9874/p2p/QmZJJx6AdaoEkGLrYG4JeLCKeCKDjnFz2wfHNHxAqFSGA9

Loading…
Cancel
Save