Bitcoin Core  0.19.99
P2P Digital Currency
Namespaces | Enumerations | Functions
settings.cpp File Reference
#include <util/settings.h>
#include <univalue.h>
Include dependency graph for settings.cpp:

Go to the source code of this file.

Namespaces

 util
 

Enumerations

enum  util::@517::Source { util::@517::Source::FORCED, util::@517::Source::COMMAND_LINE, util::@517::Source::CONFIG_FILE_NETWORK_SECTION, util::@517::Source::CONFIG_FILE_DEFAULT_SECTION }
 

Functions

SettingsValue util::GetSetting (const Settings &settings, const std::string &section, const std::string &name, bool ignore_default_section_config, bool get_chain_name)
 Get settings value from combined sources: forced settings, command line arguments and the read-only config file. More...
 
std::vector< SettingsValue > util::GetSettingsList (const Settings &settings, const std::string &section, const std::string &name, bool ignore_default_section_config)
 Get combined setting value similar to GetSetting(), except if setting was specified multiple times, return a list of all the values specified. More...
 
bool util::OnlyHasDefaultSectionSetting (const Settings &settings, const std::string &section, const std::string &name)
 Return true if a setting is set in the default config file section, and not overridden by a higher priority command-line or network section value. More...
 

Enumeration Type Documentation

◆ Source

enum util::@517::Source
strong

Definition at line 12 of file settings.cpp.