aboutsummaryrefslogtreecommitdiff
path: root/src/net_processing.cpp
diff options
context:
space:
mode:
authorJonas Schnelli <[email protected]>2017-10-13 21:17:51 -0700
committerJonas Schnelli <[email protected]>2018-02-09 19:56:07 +1100
commit31c45a927eaac934fb237433f156907092bf1d11 (patch)
treebd56a61a56a182b2fb8078c0c058a14919e06e4e /src/net_processing.cpp
parentMerge #12225: Mempool cleanups (diff)
downloaddiscoin-31c45a927eaac934fb237433f156907092bf1d11.tar.xz
discoin-31c45a927eaac934fb237433f156907092bf1d11.zip
Accept addresses with NODE_NETWORK_LIMITED flag
Diffstat (limited to 'src/net_processing.cpp')
-rw-r--r--src/net_processing.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net_processing.cpp b/src/net_processing.cpp
index fc0ba82d8..f63371291 100644
--- a/src/net_processing.cpp
+++ b/src/net_processing.cpp
@@ -1801,7 +1801,7 @@ bool static ProcessMessage(CNode* pfrom, const std::string& strCommand, CDataStr
// We only bother storing full nodes, though this may include
// things which we would not make an outbound connection to, in
// part because we may make feeler connections to them.
- if (!MayHaveUsefulAddressDB(addr.nServices))
+ if (!MayHaveUsefulAddressDB(addr.nServices) && !HasAllDesirableServiceFlags(addr.nServices))
continue;
if (addr.nTime <= 100000000 || addr.nTime > nNow + 10 * 60)