[db] Create separate database for txindex.

The new TxIndexDB class will be used by a future commit in this
change set.
This commit is contained in:
Jim Posen
2017-12-11 16:58:25 -08:00
parent 25ad2f75f5
commit 0cb8303241
3 changed files with 64 additions and 3 deletions

View File

@@ -224,6 +224,9 @@ public:
CDBWrapper(const fs::path& path, size_t nCacheSize, bool fMemory = false, bool fWipe = false, bool obfuscate = false);
~CDBWrapper();
CDBWrapper(const CDBWrapper&) = delete;
CDBWrapper& operator=(const CDBWrapper&) = delete;
template <typename K, typename V>
bool Read(const K& key, V& value) const
{