aboutsummaryrefslogtreecommitdiff
path: root/src/wallet/db.h
diff options
context:
space:
mode:
authorAndrew Chow <achow101-github@achow101.com>2020-06-15 14:14:51 -0400
committerAndrew Chow <achow101-github@achow101.com>2020-06-15 14:14:51 -0400
commitc3538f435af8c408759d9d005e80b2f1690e0659 (patch)
tree562a54d5315761ad943b65492f42d12ca3972a67 /src/wallet/db.h
parent1c86ed41483471929840eec09b93d7de3a4aeacf (diff)
downloadbitcoin-c3538f435af8c408759d9d005e80b2f1690e0659.tar.xz
walletdb: Make SpliWalletFilePath non-static
Diffstat (limited to 'src/wallet/db.h')
-rw-r--r--src/wallet/db.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/wallet/db.h b/src/wallet/db.h
index 54ce144ffc..5041a7f916 100644
--- a/src/wallet/db.h
+++ b/src/wallet/db.h
@@ -91,6 +91,7 @@ bool IsWalletLoaded(const fs::path& wallet_path);
/** Given a wallet directory path or legacy file path, return path to main data file in the wallet database. */
fs::path WalletDataFilePath(const fs::path& wallet_path);
+void SplitWalletPath(const fs::path& wallet_path, fs::path& env_directory, std::string& database_filename);
/** Get BerkeleyEnvironment and database filename given a wallet path. */
std::shared_ptr<BerkeleyEnvironment> GetWalletEnv(const fs::path& wallet_path, std::string& database_filename);