From 3795e8152b678b9f805a395b144190a9f2fa2af4 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Thu, 22 Oct 2015 21:33:06 -0400 Subject: [PATCH] leveldbwrapper file rename to dbwrapper.* --- src/Makefile.am | 4 ++-- src/Makefile.test.include | 2 +- src/{leveldbwrapper.cpp => dbwrapper.cpp} | 2 +- src/{leveldbwrapper.h => dbwrapper.h} | 6 +++--- src/test/{leveldbwrapper_tests.cpp => dbwrapper_tests.cpp} | 2 +- src/txdb.h | 2 +- 6 files changed, 9 insertions(+), 9 deletions(-) rename src/{leveldbwrapper.cpp => dbwrapper.cpp} (99%) rename src/{leveldbwrapper.h => dbwrapper.h} (98%) rename src/test/{leveldbwrapper_tests.cpp => dbwrapper_tests.cpp} (99%) diff --git a/src/Makefile.am b/src/Makefile.am index 0a16a863e..312643cec 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -110,7 +110,7 @@ BITCOIN_CORE_H = \ init.h \ key.h \ keystore.h \ - leveldbwrapper.h \ + dbwrapper.h \ limitedmap.h \ main.h \ memusage.h \ @@ -188,7 +188,7 @@ libbitcoin_server_a_SOURCES = \ httprpc.cpp \ httpserver.cpp \ init.cpp \ - leveldbwrapper.cpp \ + dbwrapper.cpp \ main.cpp \ merkleblock.cpp \ miner.cpp \ diff --git a/src/Makefile.test.include b/src/Makefile.test.include index 0fe8ea42f..f23a8f41f 100644 --- a/src/Makefile.test.include +++ b/src/Makefile.test.include @@ -54,7 +54,7 @@ BITCOIN_TESTS =\ test/hash_tests.cpp \ test/key_tests.cpp \ test/limitedmap_tests.cpp \ - test/leveldbwrapper_tests.cpp \ + test/dbwrapper_tests.cpp \ test/main_tests.cpp \ test/mempool_tests.cpp \ test/miner_tests.cpp \ diff --git a/src/leveldbwrapper.cpp b/src/dbwrapper.cpp similarity index 99% rename from src/leveldbwrapper.cpp rename to src/dbwrapper.cpp index 6ecf7c7f0..b6307cf0b 100644 --- a/src/leveldbwrapper.cpp +++ b/src/dbwrapper.cpp @@ -2,7 +2,7 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include "leveldbwrapper.h" +#include "dbwrapper.h" #include "util.h" #include "random.h" diff --git a/src/leveldbwrapper.h b/src/dbwrapper.h similarity index 98% rename from src/leveldbwrapper.h rename to src/dbwrapper.h index c8fc457d9..aa2876750 100644 --- a/src/leveldbwrapper.h +++ b/src/dbwrapper.h @@ -2,8 +2,8 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#ifndef BITCOIN_LEVELDBWRAPPER_H -#define BITCOIN_LEVELDBWRAPPER_H +#ifndef BITCOIN_DBWRAPPER_H +#define BITCOIN_DBWRAPPER_H #include "clientversion.h" #include "serialize.h" @@ -276,5 +276,5 @@ public: }; -#endif // BITCOIN_LEVELDBWRAPPER_H +#endif // BITCOIN_DBWRAPPER_H diff --git a/src/test/leveldbwrapper_tests.cpp b/src/test/dbwrapper_tests.cpp similarity index 99% rename from src/test/leveldbwrapper_tests.cpp rename to src/test/dbwrapper_tests.cpp index 8defb8a8f..8b6b0697a 100644 --- a/src/test/leveldbwrapper_tests.cpp +++ b/src/test/dbwrapper_tests.cpp @@ -2,7 +2,7 @@ // Distributed under the MIT software license, see the accompanying // file COPYING or http://www.opensource.org/licenses/mit-license.php. -#include "leveldbwrapper.h" +#include "dbwrapper.h" #include "uint256.h" #include "random.h" #include "test/test_bitcoin.h" diff --git a/src/txdb.h b/src/txdb.h index 1e8fccea4..586ab55d0 100644 --- a/src/txdb.h +++ b/src/txdb.h @@ -7,7 +7,7 @@ #define BITCOIN_TXDB_H #include "coins.h" -#include "leveldbwrapper.h" +#include "dbwrapper.h" #include #include