mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
-BEGIN VERIFY SCRIPT- sed --in-place --regexp-extended \ 's;( 20[0-2][0-9])(-20[0-2][0-9])? The Bitcoin Core developers;\1-present The Bitcoin Core developers;g' \ $( git grep -l 'The Bitcoin Core developers' -- ':(exclude)COPYING' ':(exclude)src/ipc/libmultiprocess' ':(exclude)src/minisketch' ) -END VERIFY SCRIPT-
24 lines
701 B
C++
24 lines
701 B
C++
// Copyright (c) 2020-present 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 <util/fs.h>
|
|
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct bilingual_str;
|
|
class ArgsManager;
|
|
|
|
namespace wallet {
|
|
class WalletDatabase;
|
|
|
|
bool DumpWallet(const ArgsManager& args, WalletDatabase& db, 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
|