X-Git-Url: https://git.novaco.in/?a=blobdiff_plain;f=src%2Ftxdb.h;h=939e59dd5919dd6652f34629ed98765b3df7ee1f;hb=4a6759691d71bf2a7d2a0a9e4710f0887e66ab02;hp=a8e9f5b58563a94a4c2b2360f5b2480d737759d8;hpb=d8f8063eda45b8dec864b28bb98839a2dd3a8170;p=novacoin.git diff --git a/src/txdb.h b/src/txdb.h index a8e9f5b..939e59d 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -6,6 +6,15 @@ #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