Bitcoin Core
32.1.0
P2P Digital Currency
Toggle main menu visibility
Loading...
Searching...
No Matches
src
node
protocol_version.h
Go to the documentation of this file.
1
// Copyright (c) 2012-present The Bitcoin Core developers
2
// Distributed under the MIT software license, see the accompanying
3
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
4
5
#ifndef BITCOIN_NODE_PROTOCOL_VERSION_H
6
#define BITCOIN_NODE_PROTOCOL_VERSION_H
7
11
12
inline
constexpr
int
PROTOCOL_VERSION
= 70017;
13
15
inline
constexpr
int
INIT_PROTO_VERSION
= 209;
16
18
inline
constexpr
int
MIN_PEER_PROTO_VERSION
= 31800;
19
21
inline
constexpr
int
BIP0031_VERSION
= 60000;
22
24
inline
constexpr
int
SENDHEADERS_VERSION
= 70012;
25
27
inline
constexpr
int
FEEFILTER_VERSION
= 70013;
28
30
inline
constexpr
int
SHORT_IDS_BLOCKS_VERSION
= 70014;
31
33
inline
constexpr
int
INVALID_CB_NO_BAN_VERSION
= 70015;
34
36
inline
constexpr
int
WTXID_RELAY_VERSION
= 70016;
37
39
inline
constexpr
int
FEATURE_VERSION
= 70017;
40
41
#endif
// BITCOIN_NODE_PROTOCOL_VERSION_H
INIT_PROTO_VERSION
constexpr int INIT_PROTO_VERSION
initial proto version, to be increased after version/verack negotiation
Definition
protocol_version.h:15
MIN_PEER_PROTO_VERSION
constexpr int MIN_PEER_PROTO_VERSION
disconnect from peers older than this proto version
Definition
protocol_version.h:18
SHORT_IDS_BLOCKS_VERSION
constexpr int SHORT_IDS_BLOCKS_VERSION
short-id-based block download starts with this version
Definition
protocol_version.h:30
PROTOCOL_VERSION
constexpr int PROTOCOL_VERSION
network protocol versioning
Definition
protocol_version.h:12
BIP0031_VERSION
constexpr int BIP0031_VERSION
BIP 0031, pong message, is enabled for all versions AFTER this one.
Definition
protocol_version.h:21
FEEFILTER_VERSION
constexpr int FEEFILTER_VERSION
"feefilter" tells peers to filter invs to you by fee starts with this version
Definition
protocol_version.h:27
WTXID_RELAY_VERSION
constexpr int WTXID_RELAY_VERSION
"wtxidrelay" message type for wtxid-based relay starts with this version
Definition
protocol_version.h:36
INVALID_CB_NO_BAN_VERSION
constexpr int INVALID_CB_NO_BAN_VERSION
not banning for invalid compact blocks starts with this version
Definition
protocol_version.h:33
FEATURE_VERSION
constexpr int FEATURE_VERSION
"feature" message type for feature negotiation starts with this version
Definition
protocol_version.h:39
SENDHEADERS_VERSION
constexpr int SENDHEADERS_VERSION
"sendheaders" message type and announcing blocks with headers starts with this version
Definition
protocol_version.h:24
Generated on
for Bitcoin Core by
1.18.0