Enabled disconnecting from old version nodes

This commit is contained in:
EmBi
2014-05-20 02:39:37 +02:00
parent 2447a9d633
commit 6154ff7d30
4 changed files with 154280 additions and 1449 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -19,14 +19,17 @@ CONFIG += thread
# BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH, # BOOST_INCLUDE_PATH, BOOST_LIB_PATH, BDB_INCLUDE_PATH,
# BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively # BDB_LIB_PATH, OPENSSL_INCLUDE_PATH and OPENSSL_LIB_PATH respectively
BOOST_INCLUDE_PATH=E:/crypto/deps/boost_1_53_0 BOOST_LIB_SUFFIX=-mgw48-mt-s-1_55
BOOST_LIB_PATH=E:/crypto/deps/boost_1_53_0/stage/lib BOOST_INCLUDE_PATH=C:/deps/boost_1_55_0
BDB_INCLUDE_PATH=E:/crypto/deps/db-4.8.30.NC/build_unix BOOST_LIB_PATH=C:/deps/boost_1_55_0/stage/lib
BDB_LIB_PATH=E:/crypto/deps/db-4.8.30.NC/build_unix BDB_INCLUDE_PATH=C:/deps/db-4.8.30.NC/build_unix
OPENSSL_INCLUDE_PATH=E:/crypto/deps/openssl-1.0.1g/include BDB_LIB_PATH=C:/deps/db-4.8.30.NC/build_unix
OPENSSL_LIB_PATH=E:/crypto/deps/openssl-1.0.1g OPENSSL_INCLUDE_PATH=C:/deps/openssl-1.0.1g/include
QRENCODE_INCLUDE_PATH=E:/crypto/deps/qrencode-3.4.3 OPENSSL_LIB_PATH=C:/deps/openssl-1.0.1g
QRENCODE_LIB_PATH=E:/crypto/deps/qrencode-3.4.3/.libs MINIUPNPC_INCLUDE_PATH=C:/deps/
MINIUPNPC_LIB_PATH=C:/deps/miniupnpc
QRENCODE_INCLUDE_PATH=C:/deps/qrencode-3.4.3
QRENCODE_LIB_PATH=C:/deps/qrencode-3.4.3/.libs
OBJECTS_DIR = build OBJECTS_DIR = build
MOC_DIR = build MOC_DIR = build

View File

@@ -31,7 +31,7 @@ static const int PROTOCOL_VERSION = 70003;
static const int INIT_PROTO_VERSION = 209; static const int INIT_PROTO_VERSION = 209;
// disconnect from peers older than this proto version // disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 60002; // TODO: Change to 70003 before block 445000 to force new client downloading and therefore doing the actual hard fork static const int MIN_PEER_PROTO_VERSION = 70003; // TODO: Change to 70003 before block 445000 to force new client downloading and therefore doing the actual hard fork
// nTime field added to CAddress, starting with this version; // nTime field added to CAddress, starting with this version;
// if possible, avoid requesting addresses nodes older than this // if possible, avoid requesting addresses nodes older than this