Skip to content

Commit

Permalink
Make MIN_PEER_PROTO_VERSION = PROTOCOL_VERSION (#5)
Browse files Browse the repository at this point in the history
We should be dropping old nodes while still testing and upping the version -- bad things can happen to the chain otherwise.
  • Loading branch information
breakcrypto authored and alejandromgk committed Jan 27, 2018
1 parent 69e533c commit 7b03d2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/version.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ static const int INIT_PROTO_VERSION = 209;
static const int GETHEADERS_VERSION = 70077;

//! disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 70209;
static const int MIN_PEER_PROTO_VERSION = PROTOCOL_VERSION;

//! nTime field added to CAddress, starting with this version;
//! if possible, avoid requesting addresses nodes older than this
Expand Down

0 comments on commit 7b03d2a

Please sign in to comment.