Bitcoin ABC  0.22.12
P2P Digital Currency
db.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2016 The Bitcoin Core developers
3 // Distributed under the MIT software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 
6 #ifndef BITCOIN_WALLET_DB_H
7 #define BITCOIN_WALLET_DB_H
8 
9 #include <fs.h>
10 
11 #include <string>
12 
16 fs::path WalletDataFilePath(const fs::path &wallet_path);
17 void SplitWalletPath(const fs::path &wallet_path, fs::path &env_directory,
18  std::string &database_filename);
19 
20 #endif // BITCOIN_WALLET_DB_H
fs::path WalletDataFilePath(const fs::path &wallet_path)
Given a wallet directory path or legacy file path, return path to main data file in the wallet databa...
Definition: db.cpp:27
void SplitWalletPath(const fs::path &wallet_path, fs::path &env_directory, std::string &database_filename)
Definition: db.cpp:11