aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2011-11-17 14:21:32 -0500
committerGavin Andresen <gavinandresen@gmail.com>2011-11-17 14:21:32 -0500
commit1c15f88653b0f60fe5e021192cbb81c4f193159c (patch)
treed8c2866922bf157e83d861bb2f26976a1169ba38 /src/db.h
parent37971fcc76b867681b1df5ee962f3d2a7f12a86e (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.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/db.h b/src/db.h
index 98af4be9a0..425dc2e57b 100644
--- a/src/db.h
+++ b/src/db.h
@@ -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);