Bitcoin Core  0.20.99
P2P Digital Currency
salvage.h
Go to the documentation of this file.
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2020 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 <fs.h>
10 #include <streams.h>
11 
12 struct bilingual_str;
13 
14 bool RecoverDatabaseFile(const fs::path& file_path, bilingual_str& error, std::vector<bilingual_str>& warnings);
15 
16 #endif // BITCOIN_WALLET_SALVAGE_H
Bilingual messages:
Definition: translation.h:16
bool RecoverDatabaseFile(const fs::path &file_path, bilingual_str &error, std::vector< bilingual_str > &warnings)
Definition: salvage.cpp:24
bool error(const char *fmt, const Args &... args)
Definition: system.h:52