1 // Copyright (c) 2012-2014 The Bitcoin Core developers
2 // Distributed under the MIT software license, see the accompanying
3 // file COPYING or https://www.opensource.org/licenses/mit-license.php .
5 #ifndef BITCOIN_VERSION_H
6 #define BITCOIN_VERSION_H
9 * network protocol versioning
12 static const int PROTOCOL_VERSION = 170008;
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 = 170008;
22 static const int MIN_PBAAS_VERSION = 170009;
24 //! nTime field added to CAddress, starting with this version;
25 //! if possible, avoid requesting addresses nodes older than this
26 static const int CADDR_TIME_VERSION = 31402;
28 //! BIP 0031, pong message, is enabled for all versions AFTER this one
29 static const int BIP0031_VERSION = 60000;
31 //! "mempool" command, enhanced "getdata" behavior starts with this version
32 static const int MEMPOOL_GD_VERSION = 60002;
34 //! "filter*" commands are disabled without NODE_BLOOM after and including this version
35 static const int NO_BLOOM_VERSION = 170004;
37 #define KOMODO_VERSION "0.2.1"
38 #define VERUS_VERSION "0.5.8-1"
40 #endif // BITCOIN_VERSION_H