Changeset View
Changeset View
Standalone View
Standalone View
src/util/system.h
Show All 13 Lines | |||||
#include <config/bitcoin-config.h> | #include <config/bitcoin-config.h> | ||||
#endif | #endif | ||||
#include <attributes.h> | #include <attributes.h> | ||||
#include <compat.h> | #include <compat.h> | ||||
#include <compat/assumptions.h> | #include <compat/assumptions.h> | ||||
#include <fs.h> | #include <fs.h> | ||||
#include <logging.h> | #include <logging.h> | ||||
#include <optional.h> | |||||
#include <sync.h> | #include <sync.h> | ||||
#include <tinyformat.h> | #include <tinyformat.h> | ||||
#include <util/settings.h> | #include <util/settings.h> | ||||
#include <util/threadnames.h> | #include <util/threadnames.h> | ||||
#include <util/time.h> | #include <util/time.h> | ||||
#include <boost/thread/condition_variable.hpp> // for boost::thread_interrupted | #include <boost/thread/condition_variable.hpp> // for boost::thread_interrupted | ||||
▲ Show 20 Lines • Show All 320 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Get the help string | * Get the help string | ||||
*/ | */ | ||||
std::string GetHelpMessage() const; | std::string GetHelpMessage() const; | ||||
/** | /** | ||||
* Return Flags for known arg. | * Return Flags for known arg. | ||||
* Return nullopt for unknown arg. | * Return std::nullopt for unknown arg. | ||||
*/ | */ | ||||
Optional<unsigned int> GetArgFlags(const std::string &name) const; | std::optional<unsigned int> GetArgFlags(const std::string &name) const; | ||||
/** | /** | ||||
* Read and update settings file with saved settings. This needs to be | * Read and update settings file with saved settings. This needs to be | ||||
* called after SelectParams() because the settings file location is | * called after SelectParams() because the settings file location is | ||||
* network-specific. | * network-specific. | ||||
*/ | */ | ||||
bool InitSettings(std::string &error); | bool InitSettings(std::string &error); | ||||
▲ Show 20 Lines • Show All 132 Lines • Show Last 20 Lines |