MCPcopy Create free account
hub / github.com/ElementsProject/elements / MayHaveUsefulAddressDB

Function MayHaveUsefulAddressDB

src/protocol.h:354–357  ·  view source on GitHub ↗

* Checks if a peer with the given service flags may be capable of having a * robust address-storage DB. */

Source from the content-addressed store, hash-verified

352 * robust address-storage DB.
353 */
354static inline bool MayHaveUsefulAddressDB(ServiceFlags services)
355{
356 return (services & NODE_NETWORK) || (services & NODE_NETWORK_LIMITED);
357}
358
359/** A CService with information about it as peer */
360class CAddress : public CService

Callers 3

ProcessMessageMethod · 0.85
ThreadOpenConnectionsMethod · 0.85
FUZZ_TARGET_INITFunction · 0.85

Calls

no outgoing calls

Tested by 1

FUZZ_TARGET_INITFunction · 0.68