Further reduce header dependencies
authorPieter Wuille <pieter.wuille@gmail.com>
Mon, 16 Apr 2012 12:56:45 +0000 (14:56 +0200)
committerPieter Wuille <pieter.wuille@gmail.com>
Tue, 17 Apr 2012 18:03:42 +0000 (20:03 +0200)
commit6b6aaa1698838278a547f16a15e635bd58ec867d
tree62a79e33a866c2a92f548cecb6148c7339f8beaf
parentccd65d426156c3d5b7a8f1123210decd1f06fe42
Further reduce header dependencies

This commit removes the dependency of serialize.h on PROTOCOL_VERSION,
and makes this parameter required instead of implicit. This is much saner,
as it makes the places where changing a version number can have an
influence obvious.
26 files changed:
src/addrman.cpp
src/base58.h
src/bitcoinrpc.cpp
src/crypter.cpp
src/crypter.h
src/db.cpp
src/db.h
src/init.cpp
src/key.h
src/keystore.cpp
src/keystore.h
src/main.cpp
src/main.h
src/net.h
src/qt/bitcoin.cpp
src/qt/messagepage.cpp
src/qt/qtipcserver.cpp
src/qt/walletmodel.cpp
src/script.cpp
src/serialize.h
src/uint256.h
src/util.cpp
src/util.h
src/wallet.cpp
src/wallet.h
src/walletdb.cpp