Skip to content

Commit facbcd3

Browse files
author
MarcoFalke
committed
doc: Remove unused NO_BLOOM_VERSION constant
1 parent 9d85c03 commit facbcd3

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/protocol.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,8 @@ extern const char* GETADDR;
134134
/**
135135
* The mempool message requests the TXIDs of transactions that the receiving
136136
* node has verified as valid but which have not yet appeared in a block.
137-
* @since protocol version 60002.
137+
* @since protocol version 60002 as described by BIP35.
138+
* Only available with service bit NODE_BLOOM, see also BIP111.
138139
*/
139140
extern const char* MEMPOOL;
140141
/**
@@ -278,8 +279,6 @@ enum ServiceFlags : uint64_t {
278279
// set by all Bitcoin Core non pruned nodes, and is unset by SPV clients or other light clients.
279280
NODE_NETWORK = (1 << 0),
280281
// NODE_BLOOM means the node is capable and willing to handle bloom-filtered connections.
281-
// Bitcoin Core nodes used to support this by default, without advertising this bit,
282-
// but no longer do as of protocol version 70011 (= NO_BLOOM_VERSION)
283282
NODE_BLOOM = (1 << 2),
284283
// NODE_WITNESS indicates that a node can be asked for blocks and transactions including
285284
// witness data.

src/version.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,6 @@ static const int MIN_PEER_PROTO_VERSION = 31800;
2020
//! BIP 0031, pong message, is enabled for all versions AFTER this one
2121
static const int BIP0031_VERSION = 60000;
2222

23-
//! "filter*" commands are disabled without NODE_BLOOM after and including this version
24-
static const int NO_BLOOM_VERSION = 70011;
25-
2623
//! "sendheaders" command and announcing blocks with headers starts with this version
2724
static const int SENDHEADERS_VERSION = 70012;
2825

0 commit comments

Comments
 (0)