diff options
| author | Jannis Froese <[email protected]> | 2014-03-23 21:25:51 +0100 |
|---|---|---|
| committer | Jannis Froese <[email protected]> | 2014-03-23 21:25:51 +0100 |
| commit | 103a278443d8164eddb41caff45fac1c503320c4 (patch) | |
| tree | 3eb14eb705c9e933a6b2d80624e68488988a6cf9 /src/init.cpp | |
| parent | credit where credit is due (diff) | |
| parent | Add NODE_BLOOM service bit and bump protocol version (diff) | |
| download | discoin-103a278443d8164eddb41caff45fac1c503320c4.tar.xz discoin-103a278443d8164eddb41caff45fac1c503320c4.zip | |
Merge branch 'node-bloom-service-bit' of github.com:petertodd/bitcoin into bloom-todd
Diffstat (limited to 'src/init.cpp')
| -rw-r--r-- | src/init.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/init.cpp b/src/init.cpp index 39039ac0e..c5e463d15 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -419,6 +419,11 @@ bool AppInit2(boost::thread_group& threadGroup) // ********************************************************* Step 2: parameter interactions + fBloomFilters = GetBoolArg("-bloomfilters", true); + if (fBloomFilters) { + nLocalServices |= NODE_BLOOM; + } + if (mapArgs.count("-bind")) { // when specifying an explicit binding address, you want to listen on it // even when -connect or -proxy is specified |