-
Notifications
You must be signed in to change notification settings - Fork 670
/
version.h
72 lines (51 loc) · 2.77 KB
/
version.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
// Copyright (c) 2012-2016 The Bitcoin Core developers
// Copyright (c) 2017-2019 The Raven Core developers
// Distributed under the MIT software license, see the accompanying
// file COPYING or http://www.opensource.org/licenses/mit-license.php.
#ifndef RAVEN_VERSION_H
#define RAVEN_VERSION_H
/**
* network protocol versioning
*/
// Update these four values on every release cycle
// These values should match the values in configure.ac
// Used for checking the Ravencoin releases on github
static const std::string SOFTWARE_VERSION = "v3.3.2";
static const int MAIN_SOFTWARE_VERSION = 3;
static const int SECOND_SOFTWARE_VERSION = 3;
static const int THIRD_SOFTWARE_VERSION = 2;
static const int PROTOCOL_VERSION = 70026;
//! initial proto version, to be increased after version/verack negotiation
static const int INIT_PROTO_VERSION = 209;
//! In this version, 'getheaders' was introduced.
static const int GETHEADERS_VERSION = 31800;
//! assetdata network request is allowed for this version
static const int ASSETDATA_VERSION = 70017;
//! getassetdata reutrn asstnotfound, and assetdata doesn't have blockhash in the data
static const int X16RV2_VERSION = 70025;
//! getassetdata reutrn asstnotfound, and assetdata doesn't have blockhash in the data
static const int KAWPOW_VERSION = 70027;
//! disconnect from peers older than this proto version
//!!! Anytime this value is changed please also update the "MY_VERSION" value to match in the
//!!! ./test/functional/test_framework/mininode.py file. Not doing so will cause verack to fail!
static const int MIN_PEER_PROTO_VERSION = X16RV2_VERSION;
//! nTime field added to CAddress, starting with this version;
//! if possible, avoid requesting addresses nodes older than this
static const int CADDR_TIME_VERSION = 31402;
//! BIP 0031, pong message, is enabled for all versions AFTER this one
static const int BIP0031_VERSION = 60000;
//! "filter*" commands are disabled without NODE_BLOOM after and including this version
static const int NO_BLOOM_VERSION = 70011;
//! "sendheaders" command and announcing blocks with headers starts with this version
static const int SENDHEADERS_VERSION = 70012;
//! "feefilter" tells peers to filter invs to you by fee starts with this version
static const int FEEFILTER_VERSION = 70013;
//! short-id-based block download starts with this version
static const int SHORT_IDS_BLOCKS_VERSION = 70014;
//! not banning for invalid compact blocks starts with this version
static const int INVALID_CB_NO_BAN_VERSION = 70015;
//! getassetdata reutrn asstnotfound, and assetdata doesn't have blockhash in the data
static const int ASSETDATA_VERSION_UPDATED = 70020;
//! In this version, 'rip5 (messaging and restricted assets)' was introduced
static const int MESSAGING_RESTRICTED_ASSETS_VERSION = 70026;
#endif // RAVEN_VERSION_H