[node.sh] enable archival mode if node type is explorer

Signed-off-by: Leo Chen <leo@harmony.one>
pull/2619/head
Leo Chen 5 years ago
parent 81fae5147c
commit df7a98f014
  1. 5
      scripts/node.sh

@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
version="v1 20200313.0" version="v1 20200327.0"
unset -v progname unset -v progname
progname="${0##*/}" progname="${0##*/}"
@ -248,7 +248,8 @@ shift $((${OPTIND} - 1))
unset -v bootnodes REL network_type dns_zone unset -v bootnodes REL network_type dns_zone
case "${node_type}" in case "${node_type}" in
validator|explorer) ;; validator) ;;
explorer) archival=true;;
*) *)
usage ;; usage ;;
esac esac

Loading…
Cancel
Save