Skip to content

Commit 61c1633

Browse files
committed
walletdb: Move BDB specific things into bdb.{cpp/h}
Leave wallet/db.{cpp/h} for generic WalletDatabase stuff. The BDB specific stuff goes into bdb.{cpp/h}
1 parent 8f03364 commit 61c1633

File tree

8 files changed

+1149
-1121
lines changed

8 files changed

+1149
-1121
lines changed

src/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,7 @@ BITCOIN_CORE_H = \
240240
versionbits.h \
241241
versionbitsinfo.h \
242242
walletinitinterface.h \
243+
wallet/bdb.h \
243244
wallet/coincontrol.h \
244245
wallet/context.h \
245246
wallet/crypter.h \
@@ -350,6 +351,7 @@ libbitcoin_wallet_a_CPPFLAGS = $(AM_CPPFLAGS) $(BITCOIN_INCLUDES)
350351
libbitcoin_wallet_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
351352
libbitcoin_wallet_a_SOURCES = \
352353
interfaces/wallet.cpp \
354+
wallet/bdb.cpp \
353355
wallet/coincontrol.cpp \
354356
wallet/context.cpp \
355357
wallet/crypter.cpp \

src/qt/rpcconsole.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
#include <univalue.h>
2525

2626
#ifdef ENABLE_WALLET
27+
#include <wallet/bdb.h>
2728
#include <wallet/db.h>
2829
#include <wallet/wallet.h>
2930
#endif

0 commit comments

Comments
 (0)