Bitcoin ABC 0.26.3
P2P Digital Currency
Loading...
Searching...
No Matches
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 <streams.h>
10#include <util/fs.h>
11
12struct bilingual_str;
13
15 std::vector<bilingual_str> &warnings);
16
17#endif // BITCOIN_WALLET_SALVAGE_H
Path class wrapper to block calls to the fs::path(std::string) implicit constructor and the fs::path:...
Definition fs.h:30
bool error(const char *fmt, const Args &...args)
Definition logging.h:226
T GetRand(T nMax=std::numeric_limits< T >::max()) noexcept
Generate a uniform random integer of type T in the range [0..nMax) nMax defaults to std::numeric_limi...
Definition random.h:85
bool RecoverDatabaseFile(const fs::path &file_path, bilingual_str &error, std::vector< bilingual_str > &warnings)
Definition salvage.cpp:24
Bilingual messages:
Definition translation.h:17