diff --git a/src/net_processing.h b/src/net_processing.h index ec76ed44c7..1d6d7a02bf 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -21,7 +21,7 @@ static const uint32_t DEFAULT_MAX_ORPHAN_TRANSACTIONS{100}; /** Default number of non-mempool transactions to keep around for block reconstruction. Includes orphan, replaced, and rejected transactions. */ static const uint32_t DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN{100}; -static const bool DEFAULT_PEERBLOOMFILTERS = false; +static const bool DEFAULT_PEERBLOOMFILTERS = true; static const bool DEFAULT_PEERBLOCKFILTERS = false; /** Threshold for marking a node to be discouraged, e.g. disconnected and added to the discouragement filter. */ static const int DISCOURAGEMENT_THRESHOLD{100}; diff --git a/test/functional/p2p_node_network_limited.py b/test/functional/p2p_node_network_limited.py index 89c35e943b..8673f3321a 100755 --- a/test/functional/p2p_node_network_limited.py +++ b/test/functional/p2p_node_network_limited.py @@ -11,6 +11,7 @@ and that it responds to getdata requests for blocks correctly: from test_framework.messages import ( CInv, MSG_BLOCK, + NODE_BLOOM, NODE_NETWORK_LIMITED, NODE_P2P_V2, NODE_WITNESS, @@ -57,7 +58,7 @@ class NodeNetworkLimitedTest(BitcoinTestFramework): def run_test(self): node = self.nodes[0].add_p2p_connection(P2PIgnoreInv()) - expected_services = NODE_WITNESS | NODE_NETWORK_LIMITED + expected_services = NODE_BLOOM | NODE_WITNESS | NODE_NETWORK_LIMITED if self.options.v2transport: expected_services |= NODE_P2P_V2