Change min protcol version so STAKED chains have their own value, so KMD

can still work.
This commit is contained in:
blackjok3r
2018-09-20 23:15:00 +08:00
parent 3330881171
commit 9e417e48d7
2 changed files with 573 additions and 558 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -9,7 +9,7 @@
* network protocol versioning
*/
static const int PROTOCOL_VERSION = 170003;
static const int PROTOCOL_VERSION = 170004;
//! initial proto version, to be increased after version/verack negotiation
static const int INIT_PROTO_VERSION = 209;
@@ -19,6 +19,7 @@ static const int GETHEADERS_VERSION = 31800;
//! disconnect from peers older than this proto version
static const int MIN_PEER_PROTO_VERSION = 170002;
static const int STAKEDMIN_PEER_PROTO_VERSION = 170004;
//! nTime field added to CAddress, starting with this version;
//! if possible, avoid requesting addresses nodes older than this