aboutsummaryrefslogtreecommitdiff
path: root/src/util/settings.h
Commit message (Collapse)AuthorAgeFilesLines
* Add <datadir>/settings.json persistent settings storage.Russell Yanofsky2020-07-111-3/+5
| | | | | | | Persistent settings are used in followup PRs #15936 to unify gui settings between bitcoin-qt and bitcoind, and #15937 to add a load_on_startup flag to the loadwallet RPC and maintain a dynamic list of wallets that should be loaded on startup that also can be shared between bitcoind and bitcoin-qt.
* util: Add ReadSettings and WriteSettings functionsRussell Yanofsky2020-07-111-0/+12
| | | | Currently unused, but includes tests.
* scripted-diff: Bump copyright of files changed in 2020MarcoFalke2020-01-151-1/+1
| | | | | | -BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT-
* Fix improper Doxygen inline commentsBen Woosley2020-01-101-5/+5
| | | | | The proper syntax is "//!<" http://www.doxygen.nl/manual/docblocks.html#memberdoc
* refactor: Clean up long lines in settings codeRussell Yanofsky2019-11-131-2/+9
| | | | | | | Suggested by James O'Beirne <[email protected]> https://github.com/bitcoin/bitcoin/pull/15934#discussion_r344366743 This commit does not change behavior.
* Add util::Settings struct and helper functions.Russell Yanofsky2019-11-071-0/+87
Implement merging of settings from different sources (command line and config file) separately from parsing code in system.cpp, so it is easier to add new sources. Document current inconsistent merging behavior without changing it. This commit only adds new settings code without using it. The next commit calls the new code to replace existing code in system.cpp. Co-authored-by: John Newbery <[email protected]>