File tree Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Expand file tree Collapse file tree 7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,7 @@ BITCOIN_CORE_H = \
230230 node/mini_miner.h \
231231 node/minisketchwrapper.h \
232232 node/peerman_args.h \
233+ node/protocol_version.h \
233234 node/psbt.h \
234235 node/transaction.h \
235236 node/txreconciliation.h \
@@ -658,8 +659,7 @@ libbitcoin_consensus_a_SOURCES = \
658659 uint256.cpp \
659660 uint256.h \
660661 util/strencodings.cpp \
661- util/strencodings.h \
662- version.h
662+ util/strencodings.h
663663#
664664
665665# common #
Original file line number Diff line number Diff line change 2020#include < netbase.h>
2121#include < netgroup.h>
2222#include < node/connection_types.h>
23+ #include < node/protocol_version.h>
2324#include < policy/feerate.h>
2425#include < protocol.h>
2526#include < random.h>
3031#include < util/check.h>
3132#include < util/sock.h>
3233#include < util/threadinterrupt.h>
33- #include < version.h>
3434
3535#include < atomic>
3636#include < condition_variable>
Original file line number Diff line number Diff line change 1- // Copyright (c) 2012-2020 The Bitcoin Core developers
1+ // Copyright (c) 2012-present The Bitcoin Core developers
22// Distributed under the MIT software license, see the accompanying
33// file COPYING or http://www.opensource.org/licenses/mit-license.php.
44
5- #ifndef BITCOIN_VERSION_H
6- #define BITCOIN_VERSION_H
5+ #ifndef BITCOIN_NODE_PROTOCOL_VERSION_H
6+ #define BITCOIN_NODE_PROTOCOL_VERSION_H
77
88/**
99 * network protocol versioning
@@ -35,4 +35,4 @@ static const int INVALID_CB_NO_BAN_VERSION = 70015;
3535//! "wtxidrelay" command for wtxid-based relay starts with this version
3636static const int WTXID_RELAY_VERSION = 70016 ;
3737
38- #endif // BITCOIN_VERSION_H
38+ #endif // BITCOIN_NODE_PROTOCOL_VERSION_H
Original file line number Diff line number Diff line change 1515#include < net_types.h> // For banmap_t
1616#include < netbase.h>
1717#include < node/context.h>
18+ #include < node/protocol_version.h>
1819#include < policy/settings.h>
1920#include < protocol.h>
2021#include < rpc/blockchain.h>
2930#include < util/time.h>
3031#include < util/translation.h>
3132#include < validation.h>
32- #include < version.h>
3333#include < warnings.h>
3434
3535#include < optional>
Original file line number Diff line number Diff line change 66
77#include < compat/compat.h>
88#include < netaddress.h>
9+ #include < node/protocol_version.h>
910#include < protocol.h>
1011#include < test/fuzz/FuzzedDataProvider.h>
1112#include < test/fuzz/util.h>
1213#include < test/util/net.h>
1314#include < util/sock.h>
1415#include < util/time.h>
15- #include < version.h>
1616
1717#include < array>
1818#include < cassert>
Original file line number Diff line number Diff line change 1010#include < netbase.h>
1111#include < netgroup.h>
1212#include < node/connection_types.h>
13+ #include < node/protocol_version.h>
1314#include < protocol.h>
1415#include < random.h>
1516#include < test/util/logging.h>
1819#include < test/util/setup_common.h>
1920#include < tinyformat.h>
2021#include < util/chaintype.h>
21- #include < version.h>
2222
2323#include < algorithm>
2424#include < cstdint>
Original file line number Diff line number Diff line change 1212#include < netaddress.h>
1313#include < netbase.h>
1414#include < netmessagemaker.h>
15+ #include < node/protocol_version.h>
1516#include < serialize.h>
1617#include < span.h>
1718#include < streams.h>
2223#include < util/strencodings.h>
2324#include < util/string.h>
2425#include < validation.h>
25- #include < version.h>
2626
2727#include < boost/test/unit_test.hpp>
2828
You can’t perform that action at this time.
0 commit comments