#include <config.h>
#include <streams.h>
#include <util/fs.h>
#include <util/translation.h>
#include <wallet/salvage.h>
#include <wallet/wallet.h>
#include <wallet/walletdb.h>
Go to the source code of this file.
|
typedef std::pair< std::vector< uint8_t >, std::vector< uint8_t > > | KeyValPair |
|
◆ KeyValPair
typedef std::pair<std::vector<uint8_t>, std::vector<uint8_t> > KeyValPair |
◆ KeyFilter()
static bool KeyFilter |
( |
const std::string & |
type | ) |
|
|
static |
◆ RecoverDatabaseFile()
Salvage data from a file. The DB_AGGRESSIVE flag is being used (see berkeley DB->verify() method documentation). key/value pairs are appended to salvagedData which are then written out to a new wallet file. NOTE: reads the entire database into memory, so cannot be used for huge databases.
Definition at line 24 of file salvage.cpp.
◆ DATA_END
const char* DATA_END = "DATA=END" |
|
static |
◆ HEADER_END
const char* HEADER_END = "HEADER=END" |
|
static |