Bitcoin Core  27.99.0
P2P Digital Currency
Classes | Namespaces | Typedefs | Enumerations | Functions
init.h File Reference
#include <util/translation.h>
#include <functional>
#include <optional>
#include <string>
#include <vector>
Include dependency graph for init.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  common::ConfigError
 

Namespaces

 common
 

Typedefs

using common::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  common::ConfigStatus { common::FAILED , common::FAILED_WRITE , common::ABORTED }
 

Functions

std::optional< ConfigError > common::InitConfig (ArgsManager &args, SettingsAbortFn settings_abort_fn)