Rename leveldb.{h,cpp} to leveldbwrapper.{h,cpp}.

This commit is contained in:
Brandon Dahler
2013-11-05 19:58:43 -06:00
parent 995cb284cf
commit b64187d05f
5 changed files with 21 additions and 20 deletions

View File

@@ -6,13 +6,13 @@
#define BITCOIN_TXDB_LEVELDB_H
#include "main.h"
#include "leveldb.h"
#include "leveldbwrapper.h"
/** CCoinsView backed by the LevelDB coin database (chainstate/) */
class CCoinsViewDB : public CCoinsView
{
protected:
CLevelDB db;
CLevelDBWrapper db;
public:
CCoinsViewDB(size_t nCacheSize, bool fMemory = false, bool fWipe = false);
@@ -26,7 +26,7 @@ public:
};
/** Access to the block database (blocks/index/) */
class CBlockTreeDB : public CLevelDB
class CBlockTreeDB : public CLevelDBWrapper
{
public:
CBlockTreeDB(size_t nCacheSize, bool fMemory = false, bool fWipe = false);