PPCoin: RPC command 'getdifficulty' shows proof-of-stake difficulty as well
[novacoin.git] / src / version.h
index 29efa06..bccea96 100644 (file)
@@ -39,7 +39,9 @@ extern const std::string CLIENT_DATE;
 static const int PROTOCOL_VERSION = 60001;
 
 // earlier versions not supported as of Feb 2012, and are disconnected
-static const int MIN_PROTO_VERSION = 60001;
+// NOTE: as of bitcoin v0.6 message serialization (vSend, vRecv) still
+// uses MIN_PROTO_VERSION(209), where message format uses PROTOCOL_VERSION
+static const int MIN_PROTO_VERSION = 209;
 
 // nTime field added to CAddress, starting with this version;
 // if possible, avoid requesting addresses nodes older than this