Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.h
Show First 20 Lines • Show All 262 Lines • ▼ Show 20 Lines | public: | ||||
/* Function to determine if a certain KV/key-type is a key (cryptographical | /* Function to determine if a certain KV/key-type is a key (cryptographical | ||||
* key) type */ | * key) type */ | ||||
static bool IsKeyType(const std::string &strType); | static bool IsKeyType(const std::string &strType); | ||||
/* verifies the database environment */ | /* verifies the database environment */ | ||||
static bool VerifyEnvironment(const fs::path &wallet_path, | static bool VerifyEnvironment(const fs::path &wallet_path, | ||||
bilingual_str &errorStr); | bilingual_str &errorStr); | ||||
/* verifies the database file */ | /* verifies the database file */ | ||||
static bool VerifyDatabaseFile(const fs::path &wallet_path, | static bool VerifyDatabaseFile(const fs::path &wallet_path, | ||||
std::vector<bilingual_str> &warnings, | |||||
bilingual_str &errorStr); | bilingual_str &errorStr); | ||||
//! write the hdchain model (external chain child index counter) | //! write the hdchain model (external chain child index counter) | ||||
bool WriteHDChain(const CHDChain &chain); | bool WriteHDChain(const CHDChain &chain); | ||||
bool WriteWalletFlags(const uint64_t flags); | bool WriteWalletFlags(const uint64_t flags); | ||||
//! Begin a new transaction | //! Begin a new transaction | ||||
bool TxnBegin(); | bool TxnBegin(); | ||||
Show All 15 Lines |