added create_default_wallet and create_default_account conf options

This commit is contained in:
Lex Berezhny 2020-05-06 10:50:29 -04:00
parent d476f08d13
commit db89607e4e

View file

@ -518,6 +518,12 @@ class Config(CLIConfig):
"Wallet files in 'wallet_dir' to load at startup.", "Wallet files in 'wallet_dir' to load at startup.",
['default_wallet'] ['default_wallet']
) )
create_default_wallet = Toggle(
"Create an initial wallet if it does not exist on startup.", True
)
create_default_account = Toggle(
"Create an initial account if it does not exist in the default wallet.", True
)
# network # network
use_upnp = Toggle( use_upnp = Toggle(