aboutsummaryrefslogtreecommitdiff
path: root/src/db.h
diff options
context:
space:
mode:
authorPieter Wuille <pieter.wuille@gmail.com>2012-11-04 12:48:45 +0100
committerPieter Wuille <pieter.wuille@gmail.com>2012-11-04 12:59:06 +0100
commit92467073adc11a76a26bbb55ccaed454169636f3 (patch)
treed0fb53976eb43cff56bb8318cdbbbe154d73b540 /src/db.h
parenta56d3f8a10e3c9f844aee1f362635ae14b872023 (diff)
Remove -detachdb and stop's detach argument.
As the only BDB database left is the wallet, and it is always detached. Also remove IsChainFile() predicate and related chainfile-specific logic.
Diffstat (limited to 'src/db.h')
-rw-r--r--src/db.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/db.h b/src/db.h
index 9a5f1ca9e4..9cfbf4fd6f 100644
--- a/src/db.h
+++ b/src/db.h
@@ -31,7 +31,6 @@ bool BackupWallet(const CWallet& wallet, const std::string& strDest);
class CDBEnv
{
private:
- bool fDetachDB;
bool fDbEnvInit;
bool fMockDb;
boost::filesystem::path pathEnv;
@@ -71,8 +70,6 @@ public:
void Close();
void Flush(bool fShutdown);
void CheckpointLSN(std::string strFile);
- void SetDetach(bool fDetachDB_) { fDetachDB = fDetachDB_; }
- bool GetDetach() { return fDetachDB; }
void CloseDb(const std::string& strFile);
bool RemoveDb(const std::string& strFile);