2020-05-15 19:37:55 -04:00
|
|
|
// Copyright (c) 2009-2010 Satoshi Nakamoto
|
|
|
|
// Copyright (c) 2009-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_SALVAGE_H
|
|
|
|
#define BITCOIN_WALLET_SALVAGE_H
|
|
|
|
|
|
|
|
#include <fs.h>
|
|
|
|
#include <streams.h>
|
|
|
|
|
2021-12-02 21:21:05 +01:00
|
|
|
class ArgsManager;
|
2020-07-06 14:34:49 -04:00
|
|
|
struct bilingual_str;
|
|
|
|
|
2021-11-12 11:13:29 -05:00
|
|
|
namespace wallet {
|
2021-12-02 21:21:05 +01:00
|
|
|
bool RecoverDatabaseFile(const ArgsManager& args, const fs::path& file_path, bilingual_str& error, std::vector<bilingual_str>& warnings);
|
2021-11-12 11:13:29 -05:00
|
|
|
} // namespace wallet
|
2020-05-15 19:37:55 -04:00
|
|
|
|
|
|
|
#endif // BITCOIN_WALLET_SALVAGE_H
|