diff options
| author | Pieter Wuille <[email protected]> | 2012-11-04 12:48:45 +0100 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-11-04 12:59:06 +0100 |
| commit | 92467073adc11a76a26bbb55ccaed454169636f3 (patch) | |
| tree | d0fb53976eb43cff56bb8318cdbbbe154d73b540 /src/db.h | |
| parent | Merge pull request #1971 from sipa/bugfix_norelayspent (diff) | |
| download | discoin-92467073adc11a76a26bbb55ccaed454169636f3.tar.xz discoin-92467073adc11a76a26bbb55ccaed454169636f3.zip | |
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); |