12 std::string &database_filename) {
13 if (fs::is_regular_file(wallet_path)) {
17 env_directory = wallet_path.parent_path();
22 env_directory = wallet_path;
23 database_filename =
"wallet.dat";
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...
static std::string PathToString(const path &path)
Convert path object to byte string.
void SplitWalletPath(const fs::path &wallet_path, fs::path &env_directory, std::string &database_filename)