aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-02-16 09:47:45 +0100
committerWladimir J. van der Laan <laanwj@gmail.com>2016-02-16 10:00:21 +0100
commit2d4f73f47e527520a541880c855220b9d5857f47 (patch)
treed4444f7c6b2824f8a29ba8b4514bdc3934d2d157 /src/main.h
parentce5fc02e61c8700e22601a1861295be6c4a41d74 (diff)
parent1fb91b3496f2f07bbace1f9f8e716f7f62d889e6 (diff)
downloadbitcoin-2d4f73f47e527520a541880c855220b9d5857f47.tar.xz
Merge #7509: Common argument defaults for NODE_BLOOM stuff and -wallet
1fb91b3 Common argument defaults for NODE_BLOOM stuff and -wallet (Luke Dashjr)
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.h b/src/main.h
index b6f61ca991..5ba2be251c 100644
--- a/src/main.h
+++ b/src/main.h
@@ -121,6 +121,9 @@ static const bool DEFAULT_ENABLE_REPLACEMENT = true;
/** Maximum number of headers to announce when relaying blocks with headers message.*/
static const unsigned int MAX_BLOCKS_TO_ANNOUNCE = 8;
+static const bool DEFAULT_PEERBLOOMFILTERS = true;
+static const bool DEFAULT_ENFORCENODEBLOOM = false;
+
struct BlockHasher
{
size_t operator()(const uint256& hash) const { return hash.GetCheapHash(); }