diff options
Diffstat (limited to 'src/txdb-leveldb.h')
-rw-r--r-- | src/txdb-leveldb.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/txdb-leveldb.h b/src/txdb-leveldb.h index e66ba8f8a0..1254422cf0 100644 --- a/src/txdb-leveldb.h +++ b/src/txdb-leveldb.h @@ -14,7 +14,7 @@ class CCoinsViewDB : public CCoinsView protected: CLevelDB db; public: - CCoinsViewDB(); + CCoinsViewDB(bool fMemory = false); bool GetCoins(uint256 txid, CCoins &coins); bool SetCoins(uint256 txid, const CCoins &coins); @@ -28,7 +28,7 @@ public: class CBlockTreeDB : public CLevelDB { public: - CBlockTreeDB(const char* pszMode="r+") : CLevelDB(GetDataDir() / "blktree") { } + CBlockTreeDB(bool fMemory = false); private: CBlockTreeDB(const CBlockTreeDB&); void operator=(const CBlockTreeDB&); |