aboutsummaryrefslogtreecommitdiff
path: root/src/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/version.h')
-rw-r--r--src/version.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/version.h b/src/version.h
index f1e7c4cd7b..3d1abacb94 100644
--- a/src/version.h
+++ b/src/version.h
@@ -5,6 +5,7 @@
#define BITCOIN_VERSION_H
#include "clientversion.h"
+
#include <string>
//
@@ -25,10 +26,13 @@ extern const std::string CLIENT_DATE;
// network protocol versioning
//
-static const int PROTOCOL_VERSION = 70001;
+static const int PROTOCOL_VERSION = 70002;
+
+// intial proto version, to be increased after version/verack negotiation
+static const int INIT_PROTO_VERSION = 209;
-// earlier versions not supported as of Feb 2012, and are disconnected
-static const int MIN_PROTO_VERSION = 209;
+// disconnect from peers older than this proto version
+static const int MIN_PEER_PROTO_VERSION = 209;
// nTime field added to CAddress, starting with this version;
// if possible, avoid requesting addresses nodes older than this