Changeset View
Changeset View
Standalone View
Standalone View
src/wallet/bdb.h
Show First 20 Lines • Show All 151 Lines • ▼ Show 20 Lines | public: | ||||
void IncrementUpdateCounter() override; | void IncrementUpdateCounter() override; | ||||
void ReloadDbEnv() override; | void ReloadDbEnv() override; | ||||
/** Verifies the environment and database file */ | /** Verifies the environment and database file */ | ||||
bool Verify(bilingual_str &error); | bool Verify(bilingual_str &error); | ||||
/** Return path to main database filename */ | |||||
std::string Filename() override { | |||||
return (env->Directory() / strFile).string(); | |||||
} | |||||
/** | /** | ||||
* Pointer to shared database environment. | * Pointer to shared database environment. | ||||
* | * | ||||
* Normally there is only one BerkeleyDatabase object per | * Normally there is only one BerkeleyDatabase object per | ||||
* BerkeleyEnvivonment, but in the special, backwards compatible case where | * BerkeleyEnvivonment, but in the special, backwards compatible case where | ||||
* multiple wallet BDB data files are loaded from the same directory, this | * multiple wallet BDB data files are loaded from the same directory, this | ||||
* will point to a shared instance that gets freed when the last data file | * will point to a shared instance that gets freed when the last data file | ||||
* is closed. | * is closed. | ||||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |