]> Git Repo - VerusCoin.git/blob - src/version.h
Merge pull request #2340
[VerusCoin.git] / src / version.h
1 // Copyright (c) 2012-2014 The Bitcoin 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
8 /**
9  * network protocol versioning
10  */
11
12 static const int PROTOCOL_VERSION = 70002;
13
14 //! initial proto version, to be increased after version/verack negotiation
15 static const int INIT_PROTO_VERSION = 209;
16
17 //! In this version, 'getheaders' was introduced.
18 static const int GETHEADERS_VERSION = 31800;
19
20 //! disconnect from peers older than this proto version
21 static const int MIN_PEER_PROTO_VERSION = GETHEADERS_VERSION;
22
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;
26
27 //! only request blocks from nodes outside this range of versions
28 static const int NOBLKS_VERSION_START = 32000;
29 static const int NOBLKS_VERSION_END = 32400;
30
31 //! BIP 0031, pong message, is enabled for all versions AFTER this one
32 static const int BIP0031_VERSION = 60000;
33
34 //! "mempool" command, enhanced "getdata" behavior starts with this version
35 static const int MEMPOOL_GD_VERSION = 60002;
36
37 #endif // BITCOIN_VERSION_H
This page took 0.026578 seconds and 4 git commands to generate.