Merge #9226: Remove fNetworkNode and pnodeLocalHost.
[bitcoinplatinum.git] / src / version.h
blob87fb1a3a75b08fc0af8292b2d8b75f7d4d1bb236
1 // Copyright (c) 2012-2014 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.
5 #ifndef BITCOIN_VERSION_H
6 #define BITCOIN_VERSION_H
8 /**
9 * network protocol versioning
12 static const int PROTOCOL_VERSION = 70015;
14 //! initial proto version, to be increased after version/verack negotiation
15 static const int INIT_PROTO_VERSION = 209;
17 //! In this version, 'getheaders' was introduced.
18 static const int GETHEADERS_VERSION = 31800;
20 //! disconnect from peers older than this proto version
21 static const int MIN_PEER_PROTO_VERSION = GETHEADERS_VERSION;
23 //! nTime field added to CAddress, starting with this version;
24 //! if possible, avoid requesting addresses nodes older than this
25 static const int CADDR_TIME_VERSION = 31402;
27 //! BIP 0031, pong message, is enabled for all versions AFTER this one
28 static const int BIP0031_VERSION = 60000;
30 //! "mempool" command, enhanced "getdata" behavior starts with this version
31 static const int MEMPOOL_GD_VERSION = 60002;
33 //! "filter*" commands are disabled without NODE_BLOOM after and including this version
34 static const int NO_BLOOM_VERSION = 70011;
36 //! "sendheaders" command and announcing blocks with headers starts with this version
37 static const int SENDHEADERS_VERSION = 70012;
39 //! "feefilter" tells peers to filter invs to you by fee starts with this version
40 static const int FEEFILTER_VERSION = 70013;
42 //! short-id-based block download starts with this version
43 static const int SHORT_IDS_BLOCKS_VERSION = 70014;
45 //! not banning for invalid compact blocks starts with this version
46 static const int INVALID_CB_NO_BAN_VERSION = 70015;
48 #endif // BITCOIN_VERSION_H