Skip to content

Commit f27309f

Browse files
committed
Move DEFAULT_PEERBLOOMFILTERS from validation.h to net_processing.h
1 parent 5efcb77 commit f27309f

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

src/net_processing.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100;
1919
static const unsigned int DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN = 100;
2020
/** Default for BIP61 (sending reject messages) */
2121
static constexpr bool DEFAULT_ENABLE_BIP61{false};
22+
static const bool DEFAULT_PEERBLOOMFILTERS = false;
2223

2324
class PeerLogicValidation final : public CValidationInterface, public NetEventsInterface {
2425
private:

src/validation.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ static const unsigned int MAX_BLOCKS_TO_ANNOUNCE = 8;
127127
/** Maximum number of unconnecting headers announcements before DoS score */
128128
static const int MAX_UNCONNECTING_HEADERS = 10;
129129

130-
static const bool DEFAULT_PEERBLOOMFILTERS = false;
131-
132130
/** Default for -stopatheight */
133131
static const int DEFAULT_STOPATHEIGHT = 0;
134132

0 commit comments

Comments
 (0)