16 if (!fs::is_directory(path)) {
24 if (fs::is_directory(path /
"wallets")) {
34 return wallet_version >= feature_version;
41 if (version >= wf)
return wf;
bool IsArgSet(const std::string &strArg) const
Return true if the given argument has been manually set.
const fs::path & GetDataDirNet() const
Get data directory path with appended network identifier.
std::string GetArg(const std::string &strArg, const std::string &strDefault) const
Return string argument or default value.
Path class wrapper to prepare application code for transition from boost::filesystem library to std::...
static path PathFromString(const std::string &string)
Convert byte string to path object.
bool IsFeatureSupported(int wallet_version, int feature_version)
fs::path GetWalletDir()
Get the path of the wallet directory.
WalletFeature GetClosestWalletFeature(int version)
WalletFeature
(client) version numbers for particular wallet features
@ FEATURE_PRE_SPLIT_KEYPOOL