Bitcoin Core 28.99.0
P2P Digital Currency
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
12static const int PROTOCOL_VERSION = 70016;
13
15static const int INIT_PROTO_VERSION = 209;
16
18static const int MIN_PEER_PROTO_VERSION = 31800;
19
21static const int BIP0031_VERSION = 60000;
22
24static const int SENDHEADERS_VERSION = 70012;
25
27static const int FEEFILTER_VERSION = 70013;
28
30static const int SHORT_IDS_BLOCKS_VERSION = 70014;
31
33static const int INVALID_CB_NO_BAN_VERSION = 70015;
34
36static const int WTXID_RELAY_VERSION = 70016;
37
38#endif // BITCOIN_NODE_PROTOCOL_VERSION_H
static const int WTXID_RELAY_VERSION
"wtxidrelay" command for wtxid-based relay starts with this version
static const int INIT_PROTO_VERSION
initial proto version, to be increased after version/verack negotiation
static const int SHORT_IDS_BLOCKS_VERSION
short-id-based block download starts with this version
static const int SENDHEADERS_VERSION
"sendheaders" command and announcing blocks with headers starts with this version
static const int PROTOCOL_VERSION
network protocol versioning
static const int FEEFILTER_VERSION
"feefilter" tells peers to filter invs to you by fee starts with this version
static const int MIN_PEER_PROTO_VERSION
disconnect from peers older than this proto version
static const int INVALID_CB_NO_BAN_VERSION
not banning for invalid compact blocks starts with this version
static const int BIP0031_VERSION
BIP 0031, pong message, is enabled for all versions AFTER this one.