2010-08-29 16:58:15 +00:00
|
|
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
2020-04-16 13:14:08 -04:00
|
|
|
// Copyright (c) 2009-2020 The Bitcoin Core developers
|
2014-10-31 08:43:19 +08:00
|
|
|
// Distributed under the MIT software license, see the accompanying
|
2012-05-18 22:02:28 +08:00
|
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
2013-04-13 00:13:08 -05:00
|
|
|
|
2015-03-21 18:15:31 +01:00
|
|
|
#ifndef BITCOIN_WALLET_DB_H
|
|
|
|
#define BITCOIN_WALLET_DB_H
|
2011-05-15 09:11:04 +02:00
|
|
|
|
2017-11-10 13:57:53 +13:00
|
|
|
#include <fs.h>
|
2011-05-15 09:11:04 +02:00
|
|
|
|
|
|
|
#include <string>
|
2018-10-23 13:26:27 +08:00
|
|
|
|
2019-03-06 13:22:41 -08:00
|
|
|
/** 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);
|
2020-06-15 14:14:51 -04:00
|
|
|
void SplitWalletPath(const fs::path& wallet_path, fs::path& env_directory, std::string& database_filename);
|
2019-03-06 13:22:41 -08:00
|
|
|
|
2015-03-21 18:15:31 +01:00
|
|
|
#endif // BITCOIN_WALLET_DB_H
|