Merge pull request #656 from rnicoll/1.8-dev-proto-version

Tweak protocol version and minimum protocol
This commit is contained in:
langerhans 2014-08-24 16:25:59 +02:00
commit df52e9d3c5

View file

@ -27,13 +27,13 @@ extern const std::string CLIENT_DATE;
// network protocol versioning // network protocol versioning
// //
static const int PROTOCOL_VERSION = 80000; static const int PROTOCOL_VERSION = 70003;
// intial proto version, to be increased after version/verack negotiation // intial proto version, to be increased after version/verack negotiation
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 = 70001; static const int MIN_PEER_PROTO_VERSION = 70002;
// 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