mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-12 04:42:36 -03:00
9f536d4fe9
Instead of logging or printing these errors and warnings, return them to the caller.
16 lines
516 B
C++
16 lines
516 B
C++
// 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>
|
|
|
|
struct bilingual_str;
|
|
|
|
bool RecoverDatabaseFile(const fs::path& file_path, bilingual_str& error, std::vector<bilingual_str>& warnings);
|
|
|
|
#endif // BITCOIN_WALLET_SALVAGE_H
|