From fb85856f76f31ab1681b1560e1084af610564545 Mon Sep 17 00:00:00 2001 From: Kevin Froman Date: Wed, 21 Oct 2020 05:34:43 +0000 Subject: [PATCH] added bootstrap run argument --- run-onionr-node.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/run-onionr-node.py b/run-onionr-node.py index 8250b8c5..ab58cd4e 100755 --- a/run-onionr-node.py +++ b/run-onionr-node.py @@ -55,6 +55,9 @@ def show_info(p: Process): parser = argparse.ArgumentParser() +parser.add_argument( + "--use-bootstap-file", help="Use bootstrap node list file", + type=int, default=1) parser.add_argument( "--show-stats", help="Display curses output of Onionr stats", type=int, default=0) @@ -124,7 +127,10 @@ config['plugins']['disabled'] = args.disable_plugin_list.split(',') config['general']['dev_mode'] = False config['general']['store_plaintext_blocks'] = True +config['general']['use_bootstrap_list'] = True +if not args.use_bootstrap_file: + config['general']['use_bootstrap_list'] = False if not args.store_plaintext: config['general']['store_plaintext_blocks'] = False if args.dev_mode: