dump.h raw
1 // Copyright (c) 2020-present The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5 #ifndef BITCOIN_WALLET_DUMP_H
6 #define BITCOIN_WALLET_DUMP_H
7
8 #include <util/fs.h>
9
10 #include <string>
11 #include <vector>
12
13 struct bilingual_str;
14 class ArgsManager;
15
16 namespace wallet {
17 class WalletDatabase;
18
19 bool DumpWallet(const ArgsManager& args, WalletDatabase& db, bilingual_str& error);
20 bool CreateFromDump(const ArgsManager& args, const std::string& name, const fs::path& wallet_path, bilingual_str& error, std::vector<bilingual_str>& warnings);
21 } // namespace wallet
22
23 #endif // BITCOIN_WALLET_DUMP_H
24