From 6ceff42ff886d307ad81fbf533f9d19707a9b30f Mon Sep 17 00:00:00 2001 From: The MMGen Project Date: Mon, 10 Mar 2025 14:28:55 +0000 Subject: [PATCH] make `autosign` a config file option If set in the config file, the option may be overridden on the command line with --no-autosign --- mmgen/cfg.py | 2 ++ mmgen/data/mmgen.cfg | 4 ++++ 2 files changed, 6 insertions(+) diff --git a/mmgen/cfg.py b/mmgen/cfg.py index c262af44..bf95d9e4 100755 --- a/mmgen/cfg.py +++ b/mmgen/cfg.py @@ -221,6 +221,7 @@ class Config(Lockable): force_standalone_scrypt_module = False enable_erigon = False autochg_ignore_labels = False + autosign = False # regtest: bob = False @@ -287,6 +288,7 @@ class Config(Lockable): # coin-specific only: bch_cashaddr (alias of cashaddr) _cfg_file_opts = ( 'autochg_ignore_labels', + 'autosign', 'color', 'daemon_data_dir', 'debug', diff --git a/mmgen/data/mmgen.cfg b/mmgen/data/mmgen.cfg index a6307a6d..f6fd2e85 100644 --- a/mmgen/data/mmgen.cfg +++ b/mmgen/data/mmgen.cfg @@ -85,6 +85,10 @@ # variants (see below): # tw_name my-other-tracking-wallet +# Uncomment to make autosign with automount the default. Can be overridden +# on the command line with --no-autosign +# autosign true + ##################################################################### ## RPC options. These also have coin-specific variants (see below) ## #####################################################################