diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-11-17 14:21:32 -0500 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-11-17 14:21:32 -0500 |
commit | 1c15f88653b0f60fe5e021192cbb81c4f193159c (patch) | |
tree | d8c2866922bf157e83d861bb2f26976a1169ba38 /src/db.h | |
parent | 37971fcc76b867681b1df5ee962f3d2a7f12a86e (diff) |
Only remove database log files on shutdown after wallet encryption/rewritev0.5.0rc6
Diffstat (limited to 'src/db.h')
-rw-r--r-- | src/db.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -29,7 +29,8 @@ extern unsigned int nWalletDBUpdated; extern DbEnv dbenv; -extern void DBFlush(bool fShutdown, bool fRemoveLogFiles); +extern void RemoveLogFilesOnShutdown(bool fRemoveLogFiles); +extern void DBFlush(bool fShutdown); void ThreadFlushWalletDB(void* parg); bool BackupWallet(const CWallet& wallet, const std::string& strDest); |