17 if (!fs::is_directory(path)) {
25 if (fs::is_directory(path /
"wallets")) {
35 return wallet_version >= feature_version;
42 if (version >= wf)
return wf;
fs::path GetPathArg(std::string arg, const fs::path &default_value={}) const
Return path argument or default value.
bool IsArgSet(const std::string &strArg) const
Return true if the given argument has been manually set.
fs::path GetWalletDir()
Get the path of the wallet directory.
bool IsFeatureSupported(int wallet_version, int feature_version)
WalletFeature
(client) version numbers for particular wallet features
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...
WalletFeature GetClosestWalletFeature(int version)
const fs::path & GetDataDirNet() const
Get data directory path with appended network identifier.