Bitcoin Core  22.99.0
P2P Digital Currency
dump.h
Go to the documentation of this file.
1 // Copyright (c) 2020 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 <fs.h>
9 
10 #include <string>
11 #include <vector>
12 
13 struct bilingual_str;
14 
15 namespace wallet {
16 class CWallet;
17 bool DumpWallet(CWallet& wallet, bilingual_str& error);
18 bool CreateFromDump(const std::string& name, const fs::path& wallet_path, bilingual_str& error, std::vector<bilingual_str>& warnings);
19 } // namespace wallet
20 
21 #endif // BITCOIN_WALLET_DUMP_H
fs.h
bilingual_str
Bilingual messages:
Definition: translation.h:16
wallet::DumpWallet
bool DumpWallet(CWallet &wallet, bilingual_str &error)
Definition: dump.cpp:22
wallet
Definition: node.h:38
fs::path
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...
Definition: fs.h:29
name
const char * name
Definition: rest.cpp:52
wallet::CreateFromDump
bool CreateFromDump(const std::string &name, const fs::path &wallet_path, bilingual_str &error, std::vector< bilingual_str > &warnings)
Definition: dump.cpp:117
error
bool error(const char *fmt, const Args &... args)
Definition: system.h:49