Bump version to 0.6.2.2 for osx-special build
[novacoin.git] / src / version.h
1 // Copyright (c) 2012 The Bitcoin developers
2 // Distributed under the MIT/X11 software license, see the accompanying
3 // file license.txt or http://www.opensource.org/licenses/mit-license.php.
4 #ifndef BITCOIN_VERSION_H
5 #define BITCOIN_VERSION_H
6
7 #include <string>
8
9 //
10 // client versioning
11 //
12
13 static const int CLIENT_VERSION_MAJOR       =  0;
14 static const int CLIENT_VERSION_MINOR       =  6;
15 static const int CLIENT_VERSION_REVISION    =  2;
16 static const int CLIENT_VERSION_BUILD       = 2;
17
18 static const int CLIENT_VERSION =
19                            1000000 * CLIENT_VERSION_MAJOR
20                          +   10000 * CLIENT_VERSION_MINOR 
21                          +     100 * CLIENT_VERSION_REVISION
22                          +       1 * CLIENT_VERSION_BUILD;
23
24 extern const std::string CLIENT_NAME;
25 extern const std::string CLIENT_BUILD;
26 extern const std::string CLIENT_DATE;
27
28 //
29 // network protocol versioning
30 //
31
32 static const int PROTOCOL_VERSION = 60001;
33
34 // earlier versions not supported as of Feb 2012, and are disconnected
35 static const int MIN_PROTO_VERSION = 209;
36
37 // nTime field added to CAddress, starting with this version;
38 // if possible, avoid requesting addresses nodes older than this
39 static const int CADDR_TIME_VERSION = 31402;
40
41 // only request blocks from nodes outside this range of versions
42 static const int NOBLKS_VERSION_START = 32000;
43 static const int NOBLKS_VERSION_END = 32400;
44
45 // BIP 0031, pong message, is enabled for all versions AFTER this one
46 static const int BIP0031_VERSION = 60000;
47
48 #endif