#ifndef BITCOIN_TXDB_H
#define BITCOIN_TXDB_H
+// Allow switching between LevelDB and BerkelyDB here in case we need to temporarily
+// go back to BDB for any reason. Once we're confident enough with LevelDB to stick
+// with it, this can be deleted.
+
+#ifdef USE_LEVELDB
#include "txdb-leveldb.h"
+#else
+#include "db.h"
+#include "txdb-bdb.h"
+#endif
#endif // BITCOIN_TXDB_H