diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-11-04 12:48:45 +0100 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-11-04 12:59:06 +0100 |
commit | 92467073adc11a76a26bbb55ccaed454169636f3 (patch) | |
tree | d0fb53976eb43cff56bb8318cdbbbe154d73b540 /src/db.h | |
parent | a56d3f8a10e3c9f844aee1f362635ae14b872023 (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.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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); |