File tree 7 files changed +11
-11
lines changed
7 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,7 @@ BITCOIN_CORE_H = \
230
230
node/mini_miner.h \
231
231
node/minisketchwrapper.h \
232
232
node/peerman_args.h \
233
+ node/protocol_version.h \
233
234
node/psbt.h \
234
235
node/transaction.h \
235
236
node/txreconciliation.h \
@@ -658,8 +659,7 @@ libbitcoin_consensus_a_SOURCES = \
658
659
uint256.cpp \
659
660
uint256.h \
660
661
util/strencodings.cpp \
661
- util/strencodings.h \
662
- version.h
662
+ util/strencodings.h
663
663
#
664
664
665
665
# common #
Original file line number Diff line number Diff line change 20
20
#include < netbase.h>
21
21
#include < netgroup.h>
22
22
#include < node/connection_types.h>
23
+ #include < node/protocol_version.h>
23
24
#include < policy/feerate.h>
24
25
#include < protocol.h>
25
26
#include < random.h>
30
31
#include < util/check.h>
31
32
#include < util/sock.h>
32
33
#include < util/threadinterrupt.h>
33
- #include < version.h>
34
34
35
35
#include < atomic>
36
36
#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
2
2
// Distributed under the MIT software license, see the accompanying
3
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
4
5
- #ifndef BITCOIN_VERSION_H
6
- #define BITCOIN_VERSION_H
5
+ #ifndef BITCOIN_NODE_PROTOCOL_VERSION_H
6
+ #define BITCOIN_NODE_PROTOCOL_VERSION_H
7
7
8
8
/**
9
9
* network protocol versioning
@@ -35,4 +35,4 @@ static const int INVALID_CB_NO_BAN_VERSION = 70015;
35
35
//! "wtxidrelay" command for wtxid-based relay starts with this version
36
36
static const int WTXID_RELAY_VERSION = 70016 ;
37
37
38
- #endif // BITCOIN_VERSION_H
38
+ #endif // BITCOIN_NODE_PROTOCOL_VERSION_H
Original file line number Diff line number Diff line change 15
15
#include < net_types.h> // For banmap_t
16
16
#include < netbase.h>
17
17
#include < node/context.h>
18
+ #include < node/protocol_version.h>
18
19
#include < policy/settings.h>
19
20
#include < protocol.h>
20
21
#include < rpc/blockchain.h>
29
30
#include < util/time.h>
30
31
#include < util/translation.h>
31
32
#include < validation.h>
32
- #include < version.h>
33
33
#include < warnings.h>
34
34
35
35
#include < optional>
Original file line number Diff line number Diff line change 6
6
7
7
#include < compat/compat.h>
8
8
#include < netaddress.h>
9
+ #include < node/protocol_version.h>
9
10
#include < protocol.h>
10
11
#include < test/fuzz/FuzzedDataProvider.h>
11
12
#include < test/fuzz/util.h>
12
13
#include < test/util/net.h>
13
14
#include < util/sock.h>
14
15
#include < util/time.h>
15
- #include < version.h>
16
16
17
17
#include < array>
18
18
#include < cassert>
Original file line number Diff line number Diff line change 10
10
#include < netbase.h>
11
11
#include < netgroup.h>
12
12
#include < node/connection_types.h>
13
+ #include < node/protocol_version.h>
13
14
#include < protocol.h>
14
15
#include < random.h>
15
16
#include < test/util/logging.h>
18
19
#include < test/util/setup_common.h>
19
20
#include < tinyformat.h>
20
21
#include < util/chaintype.h>
21
- #include < version.h>
22
22
23
23
#include < algorithm>
24
24
#include < cstdint>
Original file line number Diff line number Diff line change 12
12
#include < netaddress.h>
13
13
#include < netbase.h>
14
14
#include < netmessagemaker.h>
15
+ #include < node/protocol_version.h>
15
16
#include < serialize.h>
16
17
#include < span.h>
17
18
#include < streams.h>
22
23
#include < util/strencodings.h>
23
24
#include < util/string.h>
24
25
#include < validation.h>
25
- #include < version.h>
26
26
27
27
#include < boost/test/unit_test.hpp>
28
28
You can’t perform that action at this time.
0 commit comments