aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorLuke Dashjr <luke-jr+git@utopios.org>2016-02-11 06:35:25 +0000
committerLuke Dashjr <luke-jr+git@utopios.org>2016-02-11 06:38:04 +0000
commit1fb91b3496f2f07bbace1f9f8e716f7f62d889e6 (patch)
treecc508cf26e8a28a163a6439e83fd7118b92b2665 /src/main.h
parent3cd836c1d855b92e7c73ab31979f471c4f8dad68 (diff)
Common argument defaults for NODE_BLOOM stuff and -wallet
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 19623f4d96..dff81c0063 100644
--- a/src/main.h
+++ b/src/main.h
@@ -101,6 +101,9 @@ static const bool DEFAULT_TESTSAFEMODE = false;
/** 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(); }