mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
a88c320041
Creates a new wallet file using the dump file produced by the dump command
17 lines
531 B
C++
17 lines
531 B
C++
// Copyright (c) 2020 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>
|
|
|
|
class CWallet;
|
|
|
|
struct bilingual_str;
|
|
|
|
bool DumpWallet(CWallet& wallet, bilingual_str& error);
|
|
bool CreateFromDump(const std::string& name, const fs::path& wallet_path, bilingual_str& error, std::vector<bilingual_str>& warnings);
|
|
|
|
#endif // BITCOIN_WALLET_DUMP_H
|