HomePhabricator

qt: Make it possible again to specify -testnet in config file
c52c4e5d14fbUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

qt: Make it possible again to specify -testnet in config file

Changes for the datadir chooser have made it impossible to specify
the network (testnet/regtest) in the configuration file for the GUI.

Reorganize the initialization sequence to make this possible again.

  • Moves the "datadir" QSetting so that is no longer dependent on the network-specific application name (doing otherwise would create a chicken-and-egg problem).
  • Re-initialize translations after choosing network. There may be a different language configured in network-specific settings (slim chance, but handle it for sanity).

Fixes point 1 of #3840.

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Mar 11 2014, 07:32
schancelPushed on Jan 5 2018, 21:58
schancelPushed on Jan 5 2018, 21:39
schancelPushed on Jan 5 2018, 21:17
Parents
rSTAGINGa63f8b7b36e3: Merge pull request #3717 from djpnewton/wallet-txcount
Branches
Unknown
Tags
Unknown

Event Timeline

Wladimir J. van der Laan <laanwj@gmail.com> committed rSTAGINGc52c4e5d14fb: qt: Make it possible again to specify -testnet in config file (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Mar 11 2014, 07:46