Skip to content

Commit 401f2f0

Browse files
committed
Merge bloom_default-28+knots
2 parents c189a56 + b651607 commit 401f2f0

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/net_processing.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ static const uint32_t DEFAULT_MAX_ORPHAN_TRANSACTIONS{100};
2828
/** Default number of non-mempool transactions to keep around for block reconstruction. Includes
2929
orphan, replaced, and rejected transactions. */
3030
static const uint32_t DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN{100};
31-
static const bool DEFAULT_PEERBLOOMFILTERS = false;
31+
static const bool DEFAULT_PEERBLOOMFILTERS = true;
3232
static const bool DEFAULT_PEERBLOCKFILTERS = false;
3333
/** Maximum number of outstanding CMPCTBLOCK requests for the same block. */
3434
static const unsigned int MAX_CMPCTBLOCKS_INFLIGHT_PER_BLOCK = 3;

test/functional/p2p_node_network_limited.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from test_framework.messages import (
1212
CInv,
1313
MSG_BLOCK,
14+
NODE_BLOOM,
1415
NODE_NETWORK_LIMITED,
1516
NODE_P2P_V2,
1617
NODE_WITNESS,
@@ -119,7 +120,7 @@ def test_avoid_requesting_historical_blocks(self):
119120
def run_test(self):
120121
node = self.nodes[0].add_p2p_connection(P2PIgnoreInv())
121122

122-
expected_services = NODE_WITNESS | NODE_NETWORK_LIMITED | NODE_REPLACE_BY_FEE
123+
expected_services = NODE_BLOOM | NODE_WITNESS | NODE_NETWORK_LIMITED | NODE_REPLACE_BY_FEE
123124
if self.options.v2transport:
124125
expected_services |= NODE_P2P_V2
125126

0 commit comments

Comments
 (0)