mirror of
https://github.com/Retropex/bitcoin.git
synced 2025-05-12 19:20:42 +02:00
Revert "Disable bloom filtering by default."
This reverts commit 5efcb77283
.
This commit is contained in:
parent
4664717962
commit
b651607a0c
@ -27,7 +27,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;
|
||||
/** Maximum number of outstanding CMPCTBLOCK requests for the same block. */
|
||||
static const unsigned int MAX_CMPCTBLOCKS_INFLIGHT_PER_BLOCK = 3;
|
||||
|
@ -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,
|
||||
@ -119,7 +120,7 @@ class NodeNetworkLimitedTest(BitcoinTestFramework):
|
||||
def run_test(self):
|
||||
node = self.nodes[0].add_p2p_connection(P2PIgnoreInv())
|
||||
|
||||
expected_services = NODE_WITNESS | NODE_NETWORK_LIMITED | NODE_REPLACE_BY_FEE
|
||||
expected_services = NODE_BLOOM | NODE_WITNESS | NODE_NETWORK_LIMITED | NODE_REPLACE_BY_FEE
|
||||
if self.options.v2transport:
|
||||
expected_services |= NODE_P2P_V2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user