![]() |
Bitcoin Core
25.99.0
P2P Digital Currency
|
Classes | |
struct | ConfigError |
Typedefs | |
using | SettingsAbortFn = std::function< bool(const bilingual_str &message, const std::vector< std::string > &details)> |
Callback function to let the user decide whether to abort loading if settings.json file exists and can't be parsed, or to ignore the error and overwrite the file. More... | |
Enumerations | |
enum class | ConfigStatus { FAILED , FAILED_WRITE , ABORTED } |
Functions | |
std::optional< ConfigError > | InitConfig (ArgsManager &args, SettingsAbortFn settings_abort_fn) |
using common::SettingsAbortFn = typedef std::function<bool(const bilingual_str& message, const std::vector<std::string>& details)> |
|
strong |
std::optional< ConfigError > common::InitConfig | ( | ArgsManager & | args, |
SettingsAbortFn | settings_abort_fn | ||
) |