diff options
author | Jhih-Ming Huang <jm@byzantine-lab.io> | 2020-02-24 18:00:47 +0800 |
---|---|---|
committer | Jhih-Ming Huang <jm@byzantine-lab.io> | 2020-02-24 18:00:47 +0800 |
commit | 2c5d1d54b233c144ee63f0a53a3df2a334efc397 (patch) | |
tree | 97f88893adaac64ff26130cb7ddeed93e5cf2086 | |
parent | 5244bb6d79fc118bfdabeb367b645608ea05003a (diff) | |
download | go-tangerine-jm-update-run-node-script.tar.gz go-tangerine-jm-update-run-node-script.tar.zst go-tangerine-jm-update-run-node-script.zip |
scripts: add recovery network endpoint optionjm-update-run-node-script
-rwxr-xr-x | scripts/run_bp.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/scripts/run_bp.py b/scripts/run_bp.py index b5212aff9..e3fcb6ccf 100755 --- a/scripts/run_bp.py +++ b/scripts/run_bp.py @@ -229,7 +229,8 @@ def start(args, force=False): '--cache=1024', '--verbosity=%s' % args.verbosity, '--gcmode=archive', - '--port=%d' % port] + '--port=%d' % port, + '--recovery.network-rpc=%s' % args.recovery_network_rpc] if args.testnet: cmd.append('--testnet') @@ -292,6 +293,10 @@ def main(): dest='skip_env_check', action='store_true', help='Skip environment check, should only be ' 'used for AU mechanism') + parser.add_argument('--recovery-network-rpc', + default='https://mainnet.infura.io', + dest='recovery_network_rpc', + help='Recovery network endpoint') args = parser.parse_args() |