]>
Commit | Line | Data |
---|---|---|
f914f1a7 | 1 | // Copyright (c) 2012-2014 The Bitcoin Core developers |
6395ba30 | 2 | // Distributed under the MIT software license, see the accompanying |
3a25a2b9 | 3 | // file COPYING or http://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 | |
697cc53b | 12 | static const int PROTOCOL_VERSION = 170002; |
a20c0d0f | 13 | |
6395ba30 | 14 | //! initial proto version, to be increased after version/verack negotiation |
5a49c929 | 15 | static const int INIT_PROTO_VERSION = 170002; |
341735eb | 16 | |
6395ba30 | 17 | //! disconnect from peers older than this proto version |
697cc53b | 18 | static const int MIN_PEER_PROTO_VERSION = 170002; |
8b09cd3a | 19 | |
093303a8 | 20 | #endif // BITCOIN_VERSION_H |