mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-10 10:52:31 -05:00
![Hennadii Stepanov](/assets/img/avatar_default.png)
-BEGIN VERIFY SCRIPT- ./contrib/devtools/copyright_header.py update ./ -END VERIFY SCRIPT- Commits of previous years: - 2021:f47dda2c58
- 2020:fa0074e2d8
- 2019:aaaaad6ac9
22 lines
682 B
C++
22 lines
682 B
C++
// Copyright (c) 2020-2021 The Bitcoin Core developers
|
|
// Distributed under the MIT software license, see the accompanying
|
|
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
|
|
|
|
#ifndef BITCOIN_WALLET_DUMP_H
|
|
#define BITCOIN_WALLET_DUMP_H
|
|
|
|
#include <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 // BITCOIN_WALLET_DUMP_H
|