Bitcoin Core 28.99.0
P2P Digital Currency
salvage.h
Go to the documentation of this file.
1// Copyright (c) 2009-2010 Satoshi Nakamoto
2// Copyright (c) 2009-2021 The Bitcoin Core developers
3// Distributed under the MIT software license, see the accompanying
4// file COPYING or http://www.opensource.org/licenses/mit-license.php.
5
6#ifndef BITCOIN_WALLET_SALVAGE_H
7#define BITCOIN_WALLET_SALVAGE_H
8
9#include <streams.h>
10#include <util/fs.h>
11
12class ArgsManager;
13struct bilingual_str;
14
15namespace wallet {
16bool RecoverDatabaseFile(const ArgsManager& args, const fs::path& file_path, bilingual_str& error, std::vector<bilingual_str>& warnings);
17} // namespace wallet
18
19#endif // BITCOIN_WALLET_SALVAGE_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 RecoverDatabaseFile(const ArgsManager &args, const fs::path &file_path, bilingual_str &error, std::vector< bilingual_str > &warnings)
Definition: salvage.cpp:70
Bilingual messages:
Definition: translation.h:21