Anoncoin  0.9.4
P2P Digital Currency
version.h
Go to the documentation of this file.
1 // Copyright (c) 2012 The Bitcoin developers
2 // Copyright (c) 2013-2014 The Anoncoin Core developers
3 // Distributed under the MIT/X11 software license, see the accompanying
4 // file COPYING or http://www.opensource.org/licenses/mit-license.php.
5 #ifndef ANONCOIN_VERSION_H
6 #define ANONCOIN_VERSION_H
7 
8 // client versioning has moved to clientversion.h/cpp
9 
10 //
11 // network protocol versioning
12 //
13 
14 static const int PROTOCOL_VERSION = 70008;
15 
16 // intial proto version, to be increased after version/verack negotiation
17 static const int INIT_PROTO_VERSION = 209;
18 
19 // disconnect from peers older than this proto version
20 // ToDo: For now we can set this to an old value (random), and try to sync
21 // with the network, once a hard fork is certain and we are ready to upgrade
22 // we need to set this to a value we can support.
23 static const int MIN_PEER_PROTO_VERSION = 70007;
24 
25 // nTime field added to CAddress, starting with this version;
26 // if possible, avoid requesting addresses nodes older than this
27 static const int CADDR_TIME_VERSION = 31402;
28 
29 // only request blocks from nodes outside this range of versions
30 static const int NOBLKS_VERSION_START = 32000;
31 static const int NOBLKS_VERSION_END = 32400;
32 
33 // BIP 0031, pong message, is enabled for all versions AFTER this one
34 static const int BIP0031_VERSION = 60000;
35 
36 // "mempool" command, enhanced "getdata" behavior starts with this version:
37 static const int MEMPOOL_GD_VERSION = 60002;
38 
39 #endif