Document AUX-POW version, disconnect old peers

This commit is contained in:
cryptapus
2016-03-06 01:20:27 -06:00
parent a195a5266c
commit c514d54f05
+4 -1
View File
@@ -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