Skip to content

Commit 5160c3f

Browse files
committed
feat!: add new protocol version PLATFORM_BAN_VERSION = 70236
1 parent 544dfcc commit 5160c3f

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/version.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
*/
1212

1313

14-
static const int PROTOCOL_VERSION = 70236;
14+
static const int PROTOCOL_VERSION = 70237;
1515

1616
//! initial proto version, to be increased after version/verack negotiation
1717
static const int INIT_PROTO_VERSION = 209;
@@ -20,7 +20,7 @@ static const int INIT_PROTO_VERSION = 209;
2020
static const int MIN_PEER_PROTO_VERSION = 70216;
2121

2222
//! minimum proto version of masternode to accept in DKGs
23-
static const int MIN_MASTERNODE_PROTO_VERSION = 70235;
23+
static const int MIN_MASTERNODE_PROTO_VERSION = 70237;
2424

2525
//! protocol version is included in MNAUTH starting with this version
2626
static const int MNAUTH_NODE_VER_VERSION = 70218;
@@ -64,6 +64,9 @@ static const int INCREASE_MAX_HEADERS2_VERSION = 70235;
6464
//! Behavior of QRINFO is changed in this protocol version
6565
static const int EFFICIENT_QRINFO_VERSION = 70236;
6666

67+
//! Introduced new p2p message platform pose BAN
68+
static const int PLATFORM_BAN_VERSION = 70237;
69+
6770
// Make sure that none of the values above collide with `ADDRV2_FORMAT`.
6871

6972
#endif // BITCOIN_VERSION_H

test/functional/test_framework/p2p.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@
100100
MIN_P2P_VERSION_SUPPORTED = 60001
101101
# The P2P version that this test framework implements and sends in its `version` message
102102
# Version 70235 increased max header count for HEADERS2 message from 2000 to 8000
103-
P2P_VERSION = 70236
103+
P2P_VERSION = 70237
104104
# The services that this test framework offers in its `version` message
105105
P2P_SERVICES = NODE_NETWORK | NODE_HEADERS_COMPRESSED
106106
# The P2P user agent string that this test framework sends in its `version` message

0 commit comments

Comments
 (0)