aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-09-08 17:03:23 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-09-08 17:10:36 +0200
commit0c2779514041b174c13d7cd3a66f1fd28e9026fa (patch)
treed22549d3a50e3002c8f1c94910f45325cf9ea617 /src/init.cpp
parent878ea6949193a9b4f9dc956b3fdf75f55e8d2c19 (diff)
parentafb0ccaf9c9e4e8fac7db3564c4e19c9218c6b03 (diff)
Merge pull request #6579
afb0cca Add NODE_BLOOM service bit and bump protocol version (Matt Corallo)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 58a6d540a8..a12e38ff53 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -918,6 +918,9 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
// Option to startup with mocktime set (used for regression testing):
SetMockTime(GetArg("-mocktime", 0)); // SetMockTime(0) is a no-op
+ if (GetBoolArg("-peerbloomfilters", true))
+ nLocalServices |= NODE_BLOOM;
+
// ********************************************************* Step 4: application initialization: dir lock, daemonize, pidfile, debug log
// Initialize elliptic curve code