diff options
| author | Matt Corallo <[email protected]> | 2019-06-06 10:01:06 -0400 |
|---|---|---|
| committer | Matt Corallo <[email protected]> | 2019-06-06 10:01:13 -0400 |
| commit | f27309f55c4fa2b115525d72abb280757a568709 (patch) | |
| tree | c23622e58d4d9825577fe84076d67c205b8a0585 | |
| parent | Disable bloom filtering by default. (diff) | |
| download | discoin-f27309f55c4fa2b115525d72abb280757a568709.tar.xz discoin-f27309f55c4fa2b115525d72abb280757a568709.zip | |
Move DEFAULT_PEERBLOOMFILTERS from validation.h to net_processing.h
| -rw-r--r-- | src/net_processing.h | 1 | ||||
| -rw-r--r-- | src/validation.h | 2 |
2 files changed, 1 insertions, 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; |