mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-10 20:03:34 -03:00
802cc1ef53
Add common InitConfig function to deduplicate bitcoind and bitcoin-qt code reading config files and creating the datadir. There are a few minor changes in behavior: - In bitcoin-qt, when there is a problem reading the configuration file, the GUI error text has changed from "Error: Cannot parse configuration file:" to "Error reading configuration file:" to be consistent with bitcoind. - In bitcoind, when there is a problem reading the settings.json file, the error text has changed from "Failed loading settings file" to "Settings file could not be read" to be consistent with bitcoin-qt. - In bitcoind, when there is a problem writing the settings.json file, the error text has changed from "Failed saving settings file" to "Settings file could not be written" to be consistent with bitcoin-qt. - In bitcoin-qt, if there datadir is not accessible (e.g. no permission to read), there is an normal error dialog showing "Error: filesystem error: status: Permission denied [.../settings.json]", instead of an uncaught exception |
||
---|---|---|
.. | ||
00_setup_env.sh | ||
00_setup_env_android.sh | ||
00_setup_env_arm.sh | ||
00_setup_env_i686_centos.sh | ||
00_setup_env_i686_multiprocess.sh | ||
00_setup_env_mac.sh | ||
00_setup_env_mac_native_arm64.sh | ||
00_setup_env_native_asan.sh | ||
00_setup_env_native_fuzz.sh | ||
00_setup_env_native_fuzz_with_msan.sh | ||
00_setup_env_native_fuzz_with_valgrind.sh | ||
00_setup_env_native_msan.sh | ||
00_setup_env_native_nowallet_libbitcoinkernel.sh | ||
00_setup_env_native_qt5.sh | ||
00_setup_env_native_tidy.sh | ||
00_setup_env_native_tsan.sh | ||
00_setup_env_native_valgrind.sh | ||
00_setup_env_s390x.sh | ||
00_setup_env_win64.sh | ||
01_base_install.sh | ||
04_install.sh | ||
05_before_script.sh | ||
06_script_a.sh | ||
06_script_b.sh | ||
wrap-qemu.sh | ||
wrap-valgrind.sh | ||
wrap-wine.sh | ||
wrapped-cl.bat |