]>
Commit | Line | Data |
---|---|---|
f914f1a7 | 1 | // Copyright (c) 2012-2014 The Bitcoin Core developers |
6395ba30 | 2 | // Distributed under the MIT software license, see the accompanying |
bc909a7a | 3 | // file COPYING or https://www.opensource.org/licenses/mit-license.php . |
093303a8 | 4 | |
a20c0d0f PW |
5 | #ifndef BITCOIN_VERSION_H |
6 | #define BITCOIN_VERSION_H | |
7 | ||
6395ba30 MF |
8 | /** |
9 | * network protocol versioning | |
10 | */ | |
b87c0fc4 | 11 | |
86c74ca9 | 12 | static const int PROTOCOL_VERSION = 170009; |
a20c0d0f | 13 | |
6395ba30 | 14 | //! initial proto version, to be increased after version/verack negotiation |
15a99376 SB |
15 | static const int INIT_PROTO_VERSION = 209; |
16 | ||
17 | //! In this version, 'getheaders' was introduced. | |
18 | static const int GETHEADERS_VERSION = 31800; | |
341735eb | 19 | |
6395ba30 | 20 | //! disconnect from peers older than this proto version |
b2a98c42 MT |
21 | static const int MIN_PEER_PROTO_VERSION = 170008; |
22 | static const int MIN_PBAAS_VERSION = 170009; | |
8b09cd3a | 23 | |
15a99376 SB |
24 | //! nTime field added to CAddress, starting with this version; |
25 | //! if possible, avoid requesting addresses nodes older than this | |
26 | static const int CADDR_TIME_VERSION = 31402; | |
27 | ||
15a99376 SB |
28 | //! BIP 0031, pong message, is enabled for all versions AFTER this one |
29 | static const int BIP0031_VERSION = 60000; | |
30 | ||
31 | //! "mempool" command, enhanced "getdata" behavior starts with this version | |
32 | static const int MEMPOOL_GD_VERSION = 60002; | |
33 | ||
8bc44613 MC |
34 | //! "filter*" commands are disabled without NODE_BLOOM after and including this version |
35 | static const int NO_BLOOM_VERSION = 170004; | |
36 | ||
6cd8cb3a | 37 | #define KOMODO_VERSION "0.2.1" |
32e5237b | 38 | #define VERUS_VERSION "0.7.2-2" |
6cd8cb3a | 39 | |
093303a8 | 40 | #endif // BITCOIN_VERSION_H |