forked from DigiByte-Core/digibyte
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdump.h
More file actions
21 lines (16 loc) · 690 Bytes
/
dump.h
File metadata and controls
21 lines (16 loc) · 690 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2014-2025 The DigiByte Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef DIGIBYTE_WALLET_DUMP_H
#define DIGIBYTE_WALLET_DUMP_H
#include <util/fs.h>
#include <string>
#include <vector>
struct bilingual_str;
class ArgsManager;
namespace wallet {
class CWallet;
bool DumpWallet(const ArgsManager& args, CWallet& wallet, bilingual_str& error);
bool CreateFromDump(const ArgsManager& args, const std::string& name, const fs::path& wallet_path, bilingual_str& error, std::vector<bilingual_str>& warnings);
} // namespace wallet
#endif // DIGIBYTE_WALLET_DUMP_H