From f27309f55c4fa2b115525d72abb280757a568709 Mon Sep 17 00:00:00 2001 From: Matt Corallo Date: Thu, 6 Jun 2019 10:01:06 -0400 Subject: [PATCH] Move DEFAULT_PEERBLOOMFILTERS from validation.h to net_processing.h --- src/net_processing.h | 1 + src/validation.h | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/net_processing.h b/src/net_processing.h index 39c22d711..dffc3f273 100644 --- a/src/net_processing.h +++ b/src/net_processing.h @@ -19,6 +19,7 @@ static const unsigned int DEFAULT_MAX_ORPHAN_TRANSACTIONS = 100; static const unsigned int DEFAULT_BLOCK_RECONSTRUCTION_EXTRA_TXN = 100; /** Default for BIP61 (sending reject messages) */ static constexpr bool DEFAULT_ENABLE_BIP61{false}; +static const bool DEFAULT_PEERBLOOMFILTERS = false; class PeerLogicValidation final : public CValidationInterface, public NetEventsInterface { private: diff --git a/src/validation.h b/src/validation.h index 31233aac1..0c19d9493 100644 --- a/src/validation.h +++ b/src/validation.h @@ -127,8 +127,6 @@ static const unsigned int MAX_BLOCKS_TO_ANNOUNCE = 8; /** Maximum number of unconnecting headers announcements before DoS score */ static const int MAX_UNCONNECTING_HEADERS = 10; -static const bool DEFAULT_PEERBLOOMFILTERS = false; - /** Default for -stopatheight */ static const int DEFAULT_STOPATHEIGHT = 0;