Skip to content

Commit 562caf1

Browse files
committed
Merge #10560: Remove unused constants
dce8239 Comment out unused constant REJECT_DUST (practicalswift) 3289ef4 Remove unused constant MEMPOOL_GD_VERSION (practicalswift) Tree-SHA512: 8dd772c963037cd0a1db0d5bf5f7a5cce3f5cd8fb6fa983949f9f0c1c8312ffd251a62c1e5d32f3584d2bcc562d8c8a9bf7900609dee9a4f12898caa2be9c38f
2 parents 2e7d8f8 + dce8239 commit 562caf1

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

src/consensus/validation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ static const unsigned char REJECT_INVALID = 0x10;
1414
static const unsigned char REJECT_OBSOLETE = 0x11;
1515
static const unsigned char REJECT_DUPLICATE = 0x12;
1616
static const unsigned char REJECT_NONSTANDARD = 0x40;
17-
static const unsigned char REJECT_DUST = 0x41;
17+
// static const unsigned char REJECT_DUST = 0x41; // part of BIP 61
1818
static const unsigned char REJECT_INSUFFICIENTFEE = 0x42;
1919
static const unsigned char REJECT_CHECKPOINT = 0x43;
2020

src/version.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,6 @@ static const int CADDR_TIME_VERSION = 31402;
2727
//! BIP 0031, pong message, is enabled for all versions AFTER this one
2828
static const int BIP0031_VERSION = 60000;
2929

30-
//! "mempool" command, enhanced "getdata" behavior starts with this version
31-
static const int MEMPOOL_GD_VERSION = 60002;
32-
3330
//! "filter*" commands are disabled without NODE_BLOOM after and including this version
3431
static const int NO_BLOOM_VERSION = 70011;
3532

0 commit comments

Comments
 (0)