Bitcoin Core  0.20.99
P2P Digital Currency
version.h
Go to the documentation of this file.
1 // Copyright (c) 2012-2018 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_VERSION_H
6 #define BITCOIN_VERSION_H
7 
12 static const int PROTOCOL_VERSION = 70016;
13 
15 static const int INIT_PROTO_VERSION = 209;
16 
18 static const int MIN_PEER_PROTO_VERSION = 31800;
19 
21 static const int BIP0031_VERSION = 60000;
22 
24 static const int NO_BLOOM_VERSION = 70011;
25 
27 static const int SENDHEADERS_VERSION = 70012;
28 
30 static const int FEEFILTER_VERSION = 70013;
31 
33 static const int SHORT_IDS_BLOCKS_VERSION = 70014;
34 
36 static const int INVALID_CB_NO_BAN_VERSION = 70015;
37 
39 static const int WTXID_RELAY_VERSION = 70016;
40 
41 // Make sure that none of the values above collide with
42 // `SERIALIZE_TRANSACTION_NO_WITNESS` or `ADDRV2_FORMAT`.
43 
44 #endif // BITCOIN_VERSION_H
static const int BIP0031_VERSION
BIP 0031, pong message, is enabled for all versions AFTER this one.
Definition: version.h:21
static const int SENDHEADERS_VERSION
"sendheaders" command and announcing blocks with headers starts with this version ...
Definition: version.h:27
static const int INIT_PROTO_VERSION
initial proto version, to be increased after version/verack negotiation
Definition: version.h:15
static const int SHORT_IDS_BLOCKS_VERSION
short-id-based block download starts with this version
Definition: version.h:33
static const int FEEFILTER_VERSION
"feefilter" tells peers to filter invs to you by fee starts with this version
Definition: version.h:30
static const int MIN_PEER_PROTO_VERSION
disconnect from peers older than this proto version
Definition: version.h:18
static const int PROTOCOL_VERSION
network protocol versioning
Definition: version.h:12
static const int NO_BLOOM_VERSION
"filter*" commands are disabled without NODE_BLOOM after and including this version ...
Definition: version.h:24
static const int INVALID_CB_NO_BAN_VERSION
not banning for invalid compact blocks starts with this version
Definition: version.h:36
static const int WTXID_RELAY_VERSION
"wtxidrelay" command for wtxid-based relay starts with this version
Definition: version.h:39