aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxnljfr <[email protected]>2014-02-22 21:20:53 +0200
committerxnljfr <[email protected]>2014-02-22 21:20:53 +0200
commit80795d47f6b740ca7dd40da2b32fca8699b06ce3 (patch)
tree7abdd3040bae86fa7a962494235931771b506475
parentUpdate net.h (diff)
downloaddiscoin-80795d47f6b740ca7dd40da2b32fca8699b06ce3.tar.xz
discoin-80795d47f6b740ca7dd40da2b32fca8699b06ce3.zip
Update version.h
-rw-r--r--src/version.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/version.h b/src/version.h
index d1aaf85d8..9e596262a 100644
--- a/src/version.h
+++ b/src/version.h
@@ -33,8 +33,11 @@ extern const std::string CLIENT_DATE;
static const int PROTOCOL_VERSION = 70001;
-// earlier versions not supported as of Feb 2012, and are disconnected
-static const int MIN_PROTO_VERSION = 70001;
+// intial proto version, to be increased after version/verack negotiation
+static const int MIN_PROTO_VERSION = 209;
+
+// disconnect from peers older than this proto version
+static const int MIN_PEER_PROTO_VERSION = 70001;
// nTime field added to CAddress, starting with this version;
// if possible, avoid requesting addresses nodes older than this