From 30331a2b61fafcfbc9a3f73a81daa5fb8faf44a4 Mon Sep 17 00:00:00 2001 From: UdjinM6 Date: Sun, 25 Feb 2024 07:32:55 +0300 Subject: [PATCH] chore: bump protocol version to 70231 --- src/version.h | 5 ++++- test/functional/test_framework/messages.py | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/version.h b/src/version.h index ce0893530e..0fbcd1ffae 100644 --- a/src/version.h +++ b/src/version.h @@ -11,7 +11,7 @@ */ -static const int PROTOCOL_VERSION = 70230; +static const int PROTOCOL_VERSION = 70231; //! initial proto version, to be increased after version/verack negotiation static const int INIT_PROTO_VERSION = 209; @@ -52,6 +52,9 @@ static const int MNLISTDIFF_VERSION_ORDER = 70229; //! Masternode type was introduced in this version static const int MNLISTDIFF_CHAINLOCKS_PROTO_VERSION = 70230; +//! Legacy ISLOCK messages and a corresponding INV were dropped in this version +static const int NO_LEGACY_ISLOCK_PROTO_VERSION = 70231; + // Make sure that none of the values above collide with `ADDRV2_FORMAT`. #endif // BITCOIN_VERSION_H diff --git a/test/functional/test_framework/messages.py b/test/functional/test_framework/messages.py index 1552bd603b..5d07a8b31b 100755 --- a/test/functional/test_framework/messages.py +++ b/test/functional/test_framework/messages.py @@ -32,7 +32,7 @@ from test_framework.util import hex_str_to_bytes, assert_equal import dash_hash MIN_VERSION_SUPPORTED = 60001 -MY_VERSION = 70230 # MNLISTDIFF_CHAINLOCKS_PROTO_VERSION +MY_VERSION = 70231 # NO_LEGACY_ISLOCK_PROTO_VERSION MY_SUBVERSION = b"/python-p2p-tester:0.0.3%s/" MY_RELAY = 1 # from version 70001 onwards, fRelay should be appended to version messages (BIP37)