diff options
| author | Jonas Schnelli <[email protected]> | 2017-10-13 21:17:51 -0700 |
|---|---|---|
| committer | Jonas Schnelli <[email protected]> | 2018-02-09 19:56:07 +1100 |
| commit | 31c45a927eaac934fb237433f156907092bf1d11 (patch) | |
| tree | bd56a61a56a182b2fb8078c0c058a14919e06e4e /src/protocol.h | |
| parent | Merge #12225: Mempool cleanups (diff) | |
| download | discoin-31c45a927eaac934fb237433f156907092bf1d11.tar.xz discoin-31c45a927eaac934fb237433f156907092bf1d11.zip | |
Accept addresses with NODE_NETWORK_LIMITED flag
Diffstat (limited to 'src/protocol.h')
| -rw-r--r-- | src/protocol.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/protocol.h b/src/protocol.h index 42eb57e4f..ec5f55e4f 100644 --- a/src/protocol.h +++ b/src/protocol.h @@ -316,10 +316,10 @@ static inline bool HasAllDesirableServiceFlags(ServiceFlags services) { /** * Checks if a peer with the given service flags may be capable of having a - * robust address-storage DB. Currently an alias for checking NODE_NETWORK. + * robust address-storage DB. */ static inline bool MayHaveUsefulAddressDB(ServiceFlags services) { - return services & NODE_NETWORK; + return (services & NODE_NETWORK) || (services & NODE_NETWORK_LIMITED); } /** A CService with information about it as peer */ |