diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-09-03 21:14:03 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-10-20 23:08:57 +0200 |
commit | 2d8a48292b0da96cda8d7b45a24a22adfb4667b2 (patch) | |
tree | 351935f27dcd037d68d514c3a79ff5d2d24da367 /bitcoin-qt.pro | |
parent | 44d40f26dcc73469bfbfda5f981c2c528d592ac7 (diff) |
LevelDB block and coin databases
Split off CBlockTreeDB and CCoinsViewDB into txdb-*.{cpp,h} files,
implemented by either LevelDB or BDB.
Based on code from earlier commits by Mike Hearn in his leveldb
branch.
Diffstat (limited to 'bitcoin-qt.pro')
-rw-r--r-- | bitcoin-qt.pro | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bitcoin-qt.pro b/bitcoin-qt.pro index c92971661c..d0f535347e 100644 --- a/bitcoin-qt.pro +++ b/bitcoin-qt.pro @@ -92,12 +92,15 @@ contains(BITCOIN_NEED_QT_PLUGINS, 1) { contains(USE_LEVELDB, -) { message(Building without LevelDB) + SOURCES += src/txdb-bdb.cpp + HEADERS += src/txdb-bdb.h } else { message(Building with LevelDB) DEFINES += USE_LEVELDB INCLUDEPATH += src/leveldb/include src/leveldb/helpers LIBS += $$PWD/src/leveldb/libleveldb.a $$PWD/src/leveldb/libmemenv.a - SOURCES += src/leveldb.cpp + SOURCES += src/leveldb.cpp src/txdb-leveldb.cpp + HEADERS += src/leveldb.h src/txdb-leveldb.h !windows { genleveldb.commands = cd $$PWD/src/leveldb ; $(MAKE) libleveldb.a libmemenv.a } else { @@ -153,6 +156,7 @@ HEADERS += src/qt/bitcoingui.h \ src/net.h \ src/key.h \ src/db.h \ + src/txdb.h \ src/walletdb.h \ src/script.h \ src/init.h \ |