dump.h raw
1 // Copyright (c) 2020-2021 The Limenka 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 LIMENKA_WALLET_DUMP_H
6 #define LIMENKA_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(WalletDatabase& db, bilingual_str& error, const std::string& dump_filename);
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 // LIMENKA_WALLET_DUMP_H
24