Skip to content

Commit

Permalink
disconnect older peers on old port
Browse files Browse the repository at this point in the history
  • Loading branch information
bumbacoin committed Jun 22, 2018
1 parent 0cca51c commit 5b344d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/version.h
Expand Up @@ -21,8 +21,8 @@ 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_BEFORE_ENFORCEMENT = 70714;
static const int MIN_PEER_PROTO_VERSION_AFTER_ENFORCEMENT = 70715;
static const int MIN_PEER_PROTO_VERSION_BEFORE_ENFORCEMENT = 70717;
static const int MIN_PEER_PROTO_VERSION_AFTER_ENFORCEMENT = 70717;

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

1 comment on commit 5b344d1

@bumbacoin
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not disconnect older ports.
some noob didnt bump protocol version with the port change.

this will however help with disconnecting older clients who havent bothered updating since first release

Please sign in to comment.