LevelDB is now mandatory

This commit is contained in:
JoelKatz
2013-06-05 09:37:26 -07:00
parent 3d65ae7784
commit cc0b9ad01c
6 changed files with 1 additions and 48 deletions

View File

@@ -1,9 +1,7 @@
#ifndef __APPLICATION__
#define __APPLICATION__
#ifdef USE_LEVELDB
#include "leveldb/db.h"
#endif
#include <boost/asio.hpp>
@@ -83,9 +81,7 @@ class Application
DatabaseCon *mRpcDB, *mTxnDB, *mLedgerDB, *mWalletDB, *mNetNodeDB, *mPathFindDB, *mHashNodeDB;
#ifdef USE_LEVELDB
leveldb::DB *mHashNodeLDB;
#endif
ConnectionPool mConnectionPool;
PeerDoor* mPeerDoor;
@@ -156,9 +152,7 @@ public:
DatabaseCon* getPathFindDB() { return mPathFindDB; }
DatabaseCon* getHashNodeDB() { return mHashNodeDB; }
#ifdef USE_LEVELDB
leveldb::DB* getHashNodeLDB() { return mHashNodeLDB; }
#endif
uint256 getNonce256() { return mNonce256; }
std::size_t getNonceST() { return mNonceST; }