Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.cpp
Show First 20 Lines • Show All 1,002 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
bool WalletBatch::VerifyEnvironment(const fs::path &wallet_path, | bool WalletBatch::VerifyEnvironment(const fs::path &wallet_path, | ||||
bilingual_str &errorStr) { | bilingual_str &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::vector<bilingual_str> &warnings, | |||||
bilingual_str &errorStr) { | bilingual_str &errorStr) { | ||||
return BerkeleyBatch::VerifyDatabaseFile(wallet_path, warnings, errorStr, | return BerkeleyBatch::VerifyDatabaseFile(wallet_path, errorStr); | ||||
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 36 Lines |