Bump version to 0.5.7
[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 COPYING or http://www.opensource.org/licenses/mit-license.php.
4 #ifndef BITCOIN_VERSION_H
5 #define BITCOIN_VERSION_H
6
7 #include "clientversion.h"
8 #include <string>
9
10 //
11 // client versioning
12 //
13
14 static const int CLIENT_VERSION =
15                            1000000 * CLIENT_VERSION_MAJOR
16                          +   10000 * CLIENT_VERSION_MINOR
17                          +     100 * CLIENT_VERSION_REVISION
18                          +       1 * CLIENT_VERSION_BUILD;
19
20 extern const std::string CLIENT_NAME;
21 extern const std::string CLIENT_BUILD;
22 extern const std::string CLIENT_DATE;
23
24 //
25 // database format versioning
26 //
27 static const int DATABASE_VERSION = 70507;
28
29 //
30 // network protocol versioning
31 //
32
33 static const int PROTOCOL_VERSION = 60017;
34
35 // earlier versions not supported as of Feb 2012, and are disconnected
36 static const int MIN_PROTO_VERSION = 209;
37
38 // nTime field added to CAddress, starting with this version;
39 // if possible, avoid requesting addresses nodes older than this
40 static const int CADDR_TIME_VERSION = 31402;
41
42 // only request blocks from nodes outside this range of versions
43 static const int NOBLKS_VERSION_START = 60002;
44 static const int NOBLKS_VERSION_END = 60006;
45
46 #define DISPLAY_VERSION_MAJOR       0
47 #define DISPLAY_VERSION_MINOR       5
48 #define DISPLAY_VERSION_REVISION    7
49
50 #endif