mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-06-02 23:42:33 +02:00

Warning: Replacing fs::system_complete calls with fs::absolute calls in this commit may cause minor changes in behaviour because fs::absolute no longer strips trailing slashes; however these changes are believed to be safe. Co-authored-by: Russell Yanofsky <russ@yanofsky.org> Co-authored-by: Hennadii Stepanov <32963518+hebasto@users.noreply.github.com>
22 lines
608 B
C++
22 lines
608 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>
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct bilingual_str;
|
|
|
|
namespace wallet {
|
|
class CWallet;
|
|
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);
|
|
} // namespace wallet
|
|
|
|
#endif // BITCOIN_WALLET_DUMP_H
|