Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/db.h
Show First 20 Lines • Show All 405 Lines • ▼ Show 20 Lines | bool TxnAbort() { | ||||
activeTxn = nullptr; | activeTxn = nullptr; | ||||
return (ret == 0); | return (ret == 0); | ||||
} | } | ||||
static bool Rewrite(BerkeleyDatabase &database, | static bool Rewrite(BerkeleyDatabase &database, | ||||
const char *pszSkip = nullptr); | const char *pszSkip = nullptr); | ||||
}; | }; | ||||
bool RecoverDatabaseFile(const fs::path &file_path, void *callbackDataIn, | |||||
bool (*recoverKVcallback)(void *callbackData, | |||||
CDataStream ssKey, | |||||
CDataStream ssValue), | |||||
std::string &out_backup_filename); | |||||
#endif // BITCOIN_WALLET_DB_H | #endif // BITCOIN_WALLET_DB_H |