From c514d54f05cec4044732bde96476e0cfde19e4af Mon Sep 17 00:00:00 2001 From: cryptapus Date: Sun, 6 Mar 2016 01:20:27 -0600 Subject: [PATCH] Document AUX-POW version, disconnect old peers --- src/version.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/version.h b/src/version.h index 919e620b..ec59ad77 100644 --- a/src/version.h +++ b/src/version.h @@ -18,7 +18,7 @@ static const int INIT_PROTO_VERSION = 209; static const int GETHEADERS_VERSION = 31800; //! disconnect from peers older than this proto version -static const int MIN_PEER_PROTO_VERSION = GETHEADERS_VERSION; +static const int MIN_PEER_PROTO_VERSION = AUX_POW_SHA_SCRYPT_VERSION; //! nTime field added to CAddress, starting with this version; //! if possible, avoid requesting addresses nodes older than this @@ -34,4 +34,7 @@ static const int BIP0031_VERSION = 60000; //! "mempool" command, enhanced "getdata" behavior starts with this version static const int MEMPOOL_GD_VERSION = 60002; +//! AUX-POW on SHA256D and Scrypt algorithim starts with this version +static const int AUX_POW_SHA_SCRYPT_VERSION = 70003; + #endif // BITCOIN_VERSION_H