Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/bdb.h
Show First 20 Lines • Show All 59 Lines • ▼ Show 20 Lines | public: | ||||
bool IsInitialized() const { return fDbEnvInit; } | bool IsInitialized() const { return fDbEnvInit; } | ||||
bool IsDatabaseLoaded(const std::string &db_filename) const { | bool IsDatabaseLoaded(const std::string &db_filename) const { | ||||
return m_databases.find(db_filename) != m_databases.end(); | return m_databases.find(db_filename) != m_databases.end(); | ||||
} | } | ||||
fs::path Directory() const { return strPath; } | fs::path Directory() const { return strPath; } | ||||
bool Verify(const std::string &strFile); | bool Verify(const std::string &strFile); | ||||
bool Open(bool retry); | bool Open(bilingual_str &error); | ||||
void Close(); | void Close(); | ||||
void Flush(bool fShutdown); | void Flush(bool fShutdown); | ||||
void CheckpointLSN(const std::string &strFile); | void CheckpointLSN(const std::string &strFile); | ||||
void CloseDb(const std::string &strFile); | void CloseDb(const std::string &strFile); | ||||
void ReloadDbEnv(); | void ReloadDbEnv(); | ||||
DbTxn *TxnBegin(int flags = DB_TXN_WRITE_NOSYNC) { | DbTxn *TxnBegin(int flags = DB_TXN_WRITE_NOSYNC) { | ||||
▲ Show 20 Lines • Show All 221 Lines • Show Last 20 Lines |