bitcoin/src/util
Russell Yanofsky 7f40528cd5 Deduplicate settings merge code
Get rid of settings merging code in util/system.cpp repeated 5 places,
inconsistently:

- ArgsManagerHelper::GetArg
- ArgsManagerHelper::GetNetBoolArg
- ArgsManager::GetArgs
- ArgsManager::IsArgNegated
- ArgsManager::GetUnsuitableSectionOnlyArgs

Having settings merging code separated from parsing simplifies parsing somewhat
(for example negated values can simply be represented as false values instead
of partially cleared or emply placeholder lists).

Having settings merge happen one place instead of 5 makes it easier to add new
settings sources and harder to introduce new inconsistencies in the way
settings are merged.

This commit does not change behavior in any way.
2019-11-07 23:08:22 -04:00
..
bip32.cpp Add WriteHDKeypath function and move *HDKeypath to util/bip32.{h,cpp} 2019-02-14 14:00:28 -05:00
bip32.h Add WriteHDKeypath function and move *HDKeypath to util/bip32.{h,cpp} 2019-02-14 14:00:28 -05:00
bytevectorhash.cpp blockfilter: Use unordered_set instead of set in blockfilter. 2018-11-05 09:30:56 -08:00
bytevectorhash.h blockfilter: Use unordered_set instead of set in blockfilter. 2018-11-05 09:30:56 -08:00
check.h util: Add CHECK_NONFATAL and use it in src/rpc 2019-10-18 17:19:36 -04:00
error.cpp util: Make util/error bilingual_str (refactor) 2019-08-28 15:52:26 -04:00
error.h util: Make util/error bilingual_str (refactor) 2019-08-28 15:52:26 -04:00
fees.cpp [wallet] abort when attempting to fund a transaction above maxtxfee 2019-06-28 22:44:38 -04:00
fees.h [build] Add several util units 2019-04-09 17:53:08 -04:00
macros.h refactor: consolidate PASTE macros 2019-09-25 10:56:00 -04:00
memory.h scripted-diff: Move util files to separate directory. 2018-11-04 22:46:07 -08:00
moneystr.cpp Remove unused includes 2019-10-15 22:56:43 +00:00
moneystr.h Remove unused includes 2019-10-15 22:56:43 +00:00
rbf.cpp [build] Add several util units 2019-04-09 17:53:08 -04:00
rbf.h [build] Add several util units 2019-04-09 17:53:08 -04:00
settings.cpp Add util::Settings struct and helper functions. 2019-11-07 22:08:22 -05:00
settings.h Add util::Settings struct and helper functions. 2019-11-07 22:08:22 -05:00
spanparsing.cpp Abstract out some of the descriptor Span-parsing helpers 2019-09-18 12:12:13 -07:00
spanparsing.h Add documenting comments to spanparsing.h 2019-09-18 12:25:55 -07:00
strencodings.cpp Fix occurences of c_str() used with size() to data() 2019-10-28 13:41:45 +01:00
strencodings.h util: refactor upper/lowercase functions 2019-08-08 11:35:14 +09:00
string.cpp util: Add Join helper to join a list of strings 2019-08-20 16:51:41 -04:00
string.h Remove unused includes 2019-10-15 22:56:43 +00:00
system.cpp Deduplicate settings merge code 2019-11-07 23:08:22 -04:00
system.h Deduplicate settings merge code 2019-11-07 23:08:22 -04:00
threadnames.cpp Remove unused includes 2019-10-15 22:56:43 +00:00
threadnames.h Don't rename main thread at process level 2019-10-03 06:58:47 +02:00
time.cpp Rename DecodeDumpTime to ParseISO8601DateTime and move to time.cpp 2019-10-27 01:00:05 +03:00
time.h Rename DecodeDumpTime to ParseISO8601DateTime and move to time.cpp 2019-10-27 01:00:05 +03:00
translation.h MOVEONLY: Move key handling code out of wallet to keyman file 2019-10-25 19:20:24 -04:00
url.cpp [build] Add several util units 2019-04-09 17:53:08 -04:00
url.h [build] Add several util units 2019-04-09 17:53:08 -04:00
validation.cpp [validation] Add CValidationState subclasses 2019-10-29 15:46:45 -04:00
validation.h [validation] Add CValidationState subclasses 2019-10-29 15:46:45 -04:00
vector.h Add some general std::vector utility functions 2019-10-16 08:56:57 -07:00