Skip to content

Commit d257277

Browse files
committed
[VGP] Revert minimum protocol to send a VGP message
1 parent df4b72b commit d257277

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

src/bdap/vgpmessage.h

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,9 @@ class CNode;
2424
class CVGPMessage;
2525

2626
static constexpr size_t MAX_MESSAGE_SIZE = 8192;
27-
static constexpr int MIN_VGP_MESSAGE_PEER_PROTO_VERSION = 71200; // TODO (BDAP): Update minimum protocol version before v2.4 release
27+
static constexpr int MIN_VGP_MESSAGE_PEER_PROTO_VERSION = 71000;
2828
static constexpr size_t MAX_MESSAGE_DATA_LENGTH = 8192;
29-
static constexpr uint32_t MIN_CLIENT_VERSION = 2041400; // TODO (BDAP): Update minimum client version before v2.4 release
29+
static constexpr uint32_t MIN_CLIENT_VERSION = 2040000;
3030
static constexpr size_t MAX_SIGNATURE_SIZE = 72;
3131
static constexpr size_t MAX_WALLET_PUBKEY_SIZE = 40;
3232
static constexpr int KEEP_MESSAGE_LOG_ALIVE_SECONDS = 300; // 5 minutes.
@@ -35,9 +35,6 @@ static constexpr int MAX_MESAGGE_DRIFT_SECONDS = 90; // 1.5 minutes.
3535
static constexpr int MAX_MESAGGE_RELAY_SECONDS = 120; // 2 minutes.
3636
static const uint256 VGP_MESSAGE_MIN_HASH_TARGET = uint256S("00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff");
3737

38-
// TODO (BDAP): do not support v1 messages or change hash proof message to v1.
39-
//! Version VPG message 1 doesn't contain hash proof to prevent spam
40-
//! Version 2 requires hash proof
4138
class CUnsignedVGPMessage
4239
{
4340
public:

0 commit comments

Comments
 (0)