aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJhih-Ming Huang <jm@byzantine-lab.io>2020-02-24 18:00:47 +0800
committerJhih-Ming Huang <jm@byzantine-lab.io>2020-02-24 18:00:47 +0800
commit2c5d1d54b233c144ee63f0a53a3df2a334efc397 (patch)
tree97f88893adaac64ff26130cb7ddeed93e5cf2086
parent5244bb6d79fc118bfdabeb367b645608ea05003a (diff)
downloadgo-tangerine-2c5d1d54b233c144ee63f0a53a3df2a334efc397.tar
go-tangerine-2c5d1d54b233c144ee63f0a53a3df2a334efc397.tar.gz
go-tangerine-2c5d1d54b233c144ee63f0a53a3df2a334efc397.tar.bz2
go-tangerine-2c5d1d54b233c144ee63f0a53a3df2a334efc397.tar.lz
go-tangerine-2c5d1d54b233c144ee63f0a53a3df2a334efc397.tar.xz
go-tangerine-2c5d1d54b233c144ee63f0a53a3df2a334efc397.tar.zst
go-tangerine-2c5d1d54b233c144ee63f0a53a3df2a334efc397.zip
scripts: add recovery network endpoint optionjm-update-run-node-script
-rwxr-xr-xscripts/run_bp.py7
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()