Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/bdb.h
Show First 20 Lines • Show All 57 Lines • ▼ Show 20 Lines | public: | ||||
void MakeMock(); | void MakeMock(); | ||||
bool IsMock() const { return fMockDb; } | bool IsMock() const { return fMockDb; } | ||||
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 Open(bilingual_str &error); | 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(); | ||||
▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines |