Bitcoin Core 28.99.0
P2P Digital Currency
dump.h
Go to the documentation of this file.
1// Copyright (c) 2020-2021 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
13struct bilingual_str;
14class ArgsManager;
15
16namespace wallet {
17class WalletDatabase;
18
19bool DumpWallet(const ArgsManager& args, WalletDatabase& db, bilingual_str& error);
20bool 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
ArgsManager & args
Definition: bitcoind.cpp:277
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...
Definition: fs.h:33
bool CreateFromDump(const ArgsManager &args, const std::string &name, const fs::path &wallet_path, bilingual_str &error, std::vector< bilingual_str > &warnings)
Definition: dump.cpp:122
bool DumpWallet(const ArgsManager &args, WalletDatabase &db, bilingual_str &error)
Definition: dump.cpp:24
const char * name
Definition: rest.cpp:49
Bilingual messages:
Definition: translation.h:21