#ifndef BITCOIN_LEVELDB_H
#define BITCOIN_LEVELDB_H
-#include "main.h"
+#include "serialize.h"
#include <map>
#include <string>
#include <leveldb/db.h>
#include <leveldb/write_batch.h>
+class CBigNum;
+class CDiskBlockIndex;
+class COutPoint;
+class CTxIndex;
+class CTransaction;
+class uint256;
+class CDiskTxPos;
+
// Class that provides access to a LevelDB. Note that this class is frequently
// instantiated on the stack and then destroyed again, so instantiation has to
// be very cheap. Unfortunately that means, a CTxDB instance is actually just a