salvage.h raw
1 // Copyright (c) 2009-2010 Satoshi Nakamoto
2 // Copyright (c) 2009-2021 The Limenka 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 LIMENKA_WALLET_SALVAGE_H
7 #define LIMENKA_WALLET_SALVAGE_H
8
9 #include <streams.h>
10 #include <util/fs.h>
11
12 class ArgsManager;
13 struct bilingual_str;
14
15 namespace wallet {
16 bool RecoverDatabaseFile(const ArgsManager& args, const fs::path& file_path, bilingual_str& error, std::vector<bilingual_str>& warnings);
17 } // namespace wallet
18
19 #endif // LIMENKA_WALLET_SALVAGE_H
20