Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/walletdb.h
Show First 20 Lines • Show All 243 Lines • ▼ Show 20 Lines | public: | ||||
/* 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::string &warningStr, | std::string &warningStr, | ||||
std::string &errorStr); | std::string &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); | |||||
//! Begin a new transaction | //! Begin a new transaction | ||||
bool TxnBegin(); | bool TxnBegin(); | ||||
//! Commit current transaction | //! Commit current transaction | ||||
bool TxnCommit(); | bool TxnCommit(); | ||||
//! Abort current transaction | //! Abort current transaction | ||||
bool TxnAbort(); | bool TxnAbort(); | ||||
//! Read wallet version | //! Read wallet version | ||||
bool ReadVersion(int &nVersion); | bool ReadVersion(int &nVersion); | ||||
Show All 13 Lines |