aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Corallo <git@bluematt.me>2019-06-06 10:01:06 -0400
committerMatt Corallo <git@bluematt.me>2019-06-06 10:01:13 -0400
commitf27309f55c4fa2b115525d72abb280757a568709 (patch)
treec23622e58d4d9825577fe84076d67c205b8a0585
parent5efcb772838e404ca5757818d5548efcb872724b (diff)
downloadbitcoin-f27309f55c4fa2b115525d72abb280757a568709.tar.xz
Move DEFAULT_PEERBLOOMFILTERS from validation.h to net_processing.h
-rw-r--r--src/net_processing.h1
-rw-r--r--src/validation.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/net_processing.h b/src/net_processing.h
index 39c22d7118..dffc3f273f 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 31233aac19..0c19d9493d 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;