Feathercoin  0.5.0
P2P Digital Currency
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros
version.h
Go to the documentation of this file.
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
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 // network protocol versioning
26 //
27 
28 static const int PROTOCOL_VERSION = 60006;
29 
30 // intial proto version, to be increased after version/verack negotiation
31 static const int INIT_PROTO_VERSION = 209;
32 
33 // disconnect from peers older than this proto version
34 static const int MIN_PEER_PROTO_VERSION = 60002;
35 
36 // nTime field added to CAddress, starting with this version;
37 // if possible, avoid requesting addresses nodes older than this
38 static const int CADDR_TIME_VERSION = 31402;
39 
40 // only request blocks from nodes outside this range of versions
41 static const int NOBLKS_VERSION_START = 32000;
42 static const int NOBLKS_VERSION_END = 32400;
43 
44 // BIP 0031, pong message, is enabled for all versions AFTER this one
45 static const int BIP0031_VERSION = 60000;
46 
47 // "mempool" command, enhanced "getdata" behavior starts with this version:
48 static const int MEMPOOL_GD_VERSION = 60002;
49 
50 #endif
#define CLIENT_VERSION_MAJOR
Definition: clientversion.h:9
const std::string CLIENT_NAME
#define CLIENT_VERSION_MINOR
Definition: clientversion.h:10
#define CLIENT_VERSION_BUILD
Definition: clientversion.h:12
const std::string CLIENT_BUILD
const std::string CLIENT_DATE
#define CLIENT_VERSION_REVISION
Definition: clientversion.h:11