diff options
author | Jim Posen <jimpo@coinbase.com> | 2017-12-11 16:58:25 -0800 |
---|---|---|
committer | Jim Posen <jimpo@coinbase.com> | 2018-04-25 11:25:05 -0700 |
commit | 0cb8303241db75b8a59234e4edcdc163d869443c (patch) | |
tree | 0d2f3434fabca52662c6be10c414fd21012da2ac /src/dbwrapper.h | |
parent | 25ad2f75f5d105d30d2ca716a66138a6b32a8c68 (diff) |
[db] Create separate database for txindex.
The new TxIndexDB class will be used by a future commit in this
change set.
Diffstat (limited to 'src/dbwrapper.h')
-rw-r--r-- | src/dbwrapper.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/dbwrapper.h b/src/dbwrapper.h index 6f80eedc7a..2a5e0cab00 100644 --- a/src/dbwrapper.h +++ b/src/dbwrapper.h @@ -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 { |