[build] Move several units into common libraries

Moves the following units into libbitcoin_util or libbitcoin_common
since they are required by multiple libraries:

- bloom
- interfaces/handler
- merkleblock
- outputtype
This commit is contained in:
John Newbery 2019-04-02 16:57:36 -04:00
parent 0509465542
commit 99517866b6

View file

@ -245,7 +245,6 @@ libbitcoin_server_a_SOURCES = \
addrdb.cpp \ addrdb.cpp \
addrman.cpp \ addrman.cpp \
banman.cpp \ banman.cpp \
bloom.cpp \
blockencodings.cpp \ blockencodings.cpp \
blockfilter.cpp \ blockfilter.cpp \
chain.cpp \ chain.cpp \
@ -257,18 +256,15 @@ libbitcoin_server_a_SOURCES = \
index/base.cpp \ index/base.cpp \
index/txindex.cpp \ index/txindex.cpp \
interfaces/chain.cpp \ interfaces/chain.cpp \
interfaces/handler.cpp \
interfaces/node.cpp \ interfaces/node.cpp \
init.cpp \ init.cpp \
dbwrapper.cpp \ dbwrapper.cpp \
merkleblock.cpp \
miner.cpp \ miner.cpp \
net.cpp \ net.cpp \
net_processing.cpp \ net_processing.cpp \
node/coin.cpp \ node/coin.cpp \
node/transaction.cpp \ node/transaction.cpp \
noui.cpp \ noui.cpp \
outputtype.cpp \
policy/fees.cpp \ policy/fees.cpp \
policy/rbf.cpp \ policy/rbf.cpp \
policy/settings.cpp \ policy/settings.cpp \
@ -425,6 +421,7 @@ libbitcoin_common_a_CXXFLAGS = $(AM_CXXFLAGS) $(PIE_FLAGS)
libbitcoin_common_a_SOURCES = \ libbitcoin_common_a_SOURCES = \
base58.cpp \ base58.cpp \
bech32.cpp \ bech32.cpp \
bloom.cpp \
chainparams.cpp \ chainparams.cpp \
coins.cpp \ coins.cpp \
compressor.cpp \ compressor.cpp \
@ -433,8 +430,10 @@ libbitcoin_common_a_SOURCES = \
key.cpp \ key.cpp \
key_io.cpp \ key_io.cpp \
keystore.cpp \ keystore.cpp \
merkleblock.cpp \
netaddress.cpp \ netaddress.cpp \
netbase.cpp \ netbase.cpp \
outputtype.cpp \
policy/feerate.cpp \ policy/feerate.cpp \
policy/policy.cpp \ policy/policy.cpp \
protocol.cpp \ protocol.cpp \
@ -463,6 +462,7 @@ libbitcoin_util_a_SOURCES = \
compat/glibcxx_sanity.cpp \ compat/glibcxx_sanity.cpp \
compat/strnlen.cpp \ compat/strnlen.cpp \
fs.cpp \ fs.cpp \
interfaces/handler.cpp \
logging.cpp \ logging.cpp \
random.cpp \ random.cpp \
rpc/protocol.cpp \ rpc/protocol.cpp \