Browse Source

Added upload mixing run script arg

tags/release-6.0.0
Kevin Froman 3 weeks ago
parent
commit
366295f09c
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      run-onionr-node.py

+ 7
- 0
run-onionr-node.py View File

@@ -82,6 +82,9 @@ parser.add_argument(
parser.add_argument(
'--keep-log-on-exit', help='Onionr can keep or delete its log file on exit',
type=int, default=0)
parser.add_argument(
'--use-upload-mixing', help='Re-upload blocks uploaded to us. Slow but more secure',
type=int, default=0)
args = parser.parse_args()

p = Popen([sub_script, 'version'], stdout=DEVNULL)
@@ -114,6 +117,10 @@ if args.keep_log_on_exit:
config['log']['file']['remove_on_exit'] = True
else:
config['log']['file']['remove_on_exit'] = False

config['general']['upload_mixing'] = False
if args.use_upload_mixing:
config['general']['upload_mixing'] = True
config['general']['display_header'] = False
config['general']['security_level'] = args.security_level



Loading…
Cancel
Save