mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-26 03:03:22 -03:00
doc: Remove unused NO_BLOOM_VERSION constant
This commit is contained in:
parent
9d85c03620
commit
facbcd3742
2 changed files with 2 additions and 6 deletions
|
@ -134,7 +134,8 @@ extern const char* GETADDR;
|
||||||
/**
|
/**
|
||||||
* The mempool message requests the TXIDs of transactions that the receiving
|
* The mempool message requests the TXIDs of transactions that the receiving
|
||||||
* node has verified as valid but which have not yet appeared in a block.
|
* node has verified as valid but which have not yet appeared in a block.
|
||||||
* @since protocol version 60002.
|
* @since protocol version 60002 as described by BIP35.
|
||||||
|
* Only available with service bit NODE_BLOOM, see also BIP111.
|
||||||
*/
|
*/
|
||||||
extern const char* MEMPOOL;
|
extern const char* MEMPOOL;
|
||||||
/**
|
/**
|
||||||
|
@ -278,8 +279,6 @@ enum ServiceFlags : uint64_t {
|
||||||
// set by all Bitcoin Core non pruned nodes, and is unset by SPV clients or other light clients.
|
// set by all Bitcoin Core non pruned nodes, and is unset by SPV clients or other light clients.
|
||||||
NODE_NETWORK = (1 << 0),
|
NODE_NETWORK = (1 << 0),
|
||||||
// NODE_BLOOM means the node is capable and willing to handle bloom-filtered connections.
|
// NODE_BLOOM means the node is capable and willing to handle bloom-filtered connections.
|
||||||
// Bitcoin Core nodes used to support this by default, without advertising this bit,
|
|
||||||
// but no longer do as of protocol version 70011 (= NO_BLOOM_VERSION)
|
|
||||||
NODE_BLOOM = (1 << 2),
|
NODE_BLOOM = (1 << 2),
|
||||||
// NODE_WITNESS indicates that a node can be asked for blocks and transactions including
|
// NODE_WITNESS indicates that a node can be asked for blocks and transactions including
|
||||||
// witness data.
|
// witness data.
|
||||||
|
|
|
@ -20,9 +20,6 @@ static const int MIN_PEER_PROTO_VERSION = 31800;
|
||||||
//! BIP 0031, pong message, is enabled for all versions AFTER this one
|
//! BIP 0031, pong message, is enabled for all versions AFTER this one
|
||||||
static const int BIP0031_VERSION = 60000;
|
static const int BIP0031_VERSION = 60000;
|
||||||
|
|
||||||
//! "filter*" commands are disabled without NODE_BLOOM after and including this version
|
|
||||||
static const int NO_BLOOM_VERSION = 70011;
|
|
||||||
|
|
||||||
//! "sendheaders" command and announcing blocks with headers starts with this version
|
//! "sendheaders" command and announcing blocks with headers starts with this version
|
||||||
static const int SENDHEADERS_VERSION = 70012;
|
static const int SENDHEADERS_VERSION = 70012;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue