Bitcoin ABC 0.26.3
P2P Digital Currency
|
#include <common/args.h>
#include <logging.h>
#include <sync.h>
#include <tinyformat.h>
#include <univalue.h>
#include <util/fs.h>
#include <util/settings.h>
#include <util/string.h>
#include <algorithm>
#include <cassert>
#include <cstdlib>
#include <fstream>
#include <iostream>
#include <list>
#include <map>
#include <memory>
#include <optional>
#include <string>
#include <string_view>
#include <utility>
#include <vector>
Go to the source code of this file.
Functions | |
fs::path | GetConfigFile (const ArgsManager &args, const fs::path &configuration_file_path) |
static bool | GetConfigOptions (std::istream &stream, const std::string &filepath, std::string &error, std::vector< std::pair< std::string, std::string > > &options, std::list< SectionInfo > §ions) |
fs::path | AbsPathForConfigVal (const ArgsManager &args, const fs::path &path, bool net_specific) |
Most paths passed as configuration arguments are treated as relative to the datadir if they are not absolute. | |
fs::path AbsPathForConfigVal | ( | const ArgsManager & | args, |
const fs::path & | path, | ||
bool | net_specific = true |
||
) |
Most paths passed as configuration arguments are treated as relative to the datadir if they are not absolute.
args | Parsed arguments and settings. |
path | The path to be conditionally prefixed with datadir. |
net_specific | Use network specific datadir variant |
Definition at line 236 of file configfile.cpp.
fs::path GetConfigFile | ( | const ArgsManager & | args, |
const fs::path & | configuration_file_path | ||
) |
Definition at line 29 of file configfile.cpp.
|
static |
Definition at line 36 of file configfile.cpp.