A tool for updating injectived / peggo binaries from the official source. For use on live environments.
> update-validator-files -h
Usage of update-validator-files:
-bin-dir string
Sets the name for bin dir, relative to home-dir or absolute (default "bin")
-chain-release-tag string
Specify the chain binaries release tag (default "v4.0.9-1624286601")
-config-dir string
Sets the name for config dir, relative to home-dir or absolute (default "config")
-genesis-download
Enable genesis download
-genesis-name string
Set the name of genesis file (default "genesis.json")
-home-dir string
Sets the home dir (default "/Users/xlab")
-injectived-bin string
Set the name of injectived executable (default "injectived")
-network-config-tag string
Specify network config release tag (for genesis download) (default "10001")
-peggo-bin string
Set the name of peggo executable (default "peggo")
-release-os string
Specify release OS. Linux x86_64 is the default (default "linux-amd64")