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