mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-12 15:09:59 +01:00
Accept addresses with NODE_NETWORK_LIMITED flag
This commit is contained in:
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user