Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.cpp
Show First 20 Lines • Show All 773 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
bool WalletBatch::VerifyEnvironment(const fs::path &wallet_path, | bool WalletBatch::VerifyEnvironment(const fs::path &wallet_path, | ||||
std::string &errorStr) { | std::string &errorStr) { | ||||
return BerkeleyBatch::VerifyEnvironment(wallet_path, errorStr); | return BerkeleyBatch::VerifyEnvironment(wallet_path, errorStr); | ||||
} | } | ||||
bool WalletBatch::VerifyDatabaseFile(const fs::path &wallet_path, | bool WalletBatch::VerifyDatabaseFile(const fs::path &wallet_path, | ||||
std::string &warningStr, | std::vector<std::string> &warnings, | ||||
std::string &errorStr) { | std::string &errorStr) { | ||||
return BerkeleyBatch::VerifyDatabaseFile(wallet_path, warningStr, errorStr, | return BerkeleyBatch::VerifyDatabaseFile(wallet_path, warnings, errorStr, | ||||
WalletBatch::Recover); | WalletBatch::Recover); | ||||
} | } | ||||
bool WalletBatch::WriteDestData(const CTxDestination &address, | bool WalletBatch::WriteDestData(const CTxDestination &address, | ||||
const std::string &key, | const std::string &key, | ||||
const std::string &value) { | const std::string &value) { | ||||
if (!IsValidDestination(address)) { | if (!IsValidDestination(address)) { | ||||
return false; | return false; | ||||
Show All 37 Lines |